<p></p>
<p>Well the problem with the multiple relay hops appears to be caused by a lower layer, the code from this PR looks fine.<br>
I would have hoped we could get closer to the cause of this (maybe just a queue that's too small, but then again packets appear to be send multiple times more than expected).</p>
<p>The single-hop relay case works fine though (with KEA), so if you don't want to investigate this further, feel free to squash.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16606#issuecomment-896670301">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYE3FXQU6LDS5M5VXU3T4I737ANCNFSM47W66FYA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABE7WYHNPSJ4RLKTESE2MNTT4I737A5CNFSM47W66FYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGVZBUXI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16606#issuecomment-896670301",
"url": "https://github.com/RIOT-OS/RIOT/pull/16606#issuecomment-896670301",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>