-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udp: fix again pbuf management #7132
Conversation
Confirming this does indeed fix #7124 |
Reassembly on IPv4 still works, no problem. Something's up though. I'm sending 4 UDP packets with 1024 bytes payload each in quick succession. The first one is delivered immediately, but the remaining 3 are buffered by LwIP. How those are delivered depends on the commit.
I can take a look tomorrow. Not tested IPv6 yet. |
I think (and while I'm writing it becomes clear) it is because of
The info pbuf (the garbage) should not be accessible but it is because of
This is not needed. The code needed for IPv6 is also used for IPv4 and is the info pbuf management. |
@szekelyisz Can you please retry with latest commit ? |
Reassembly still works and smaller packets are also delivered correctly. |
Thanks for testing ! |
This follows #7036 where udp pbuf chain handling is made hairy because of interleaved information fragment introduced with IPv6.
@szekelyisz Could you please test this change ?
fixes #7124