ethos: Unable to handle fragmented IPv6 packets from Linux kernel #12264
Labels
Area: drivers
Area: Device drivers
Area: network
Area: Networking
Area: tools
Area: Supplementary tools
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
When testing #11596 we noticed, that
ethos
was unable to handle fragmented IPv6 packets. We saw them in wireshark but some fragments weren't able to be passed to the IPv6 layer. Sometimes all fragments were dropped, sometimes only the second (of two).Steps to reproduce the issue
Remove the early exit of the
gnrc_ipv6_ext_frag
tests for non-native boardsCompile and flash the application to a non-native board of your choice and run the test (I recommend to also have a wireshark running on the ethos interface during the tests)
BOARD=samr21-xpro make -C tests/gnrc_ipv6_ext_frag/ flash sudo BOARD=samr21-xpro make -C tests/gnrc_ipv6_ext_frag/ test
Expected results
The tests pass, all fragmented datagrams sent from the Linux side are received by the RIOT node.
Actual results
The fragmented datagrams sent by the Linux kernel are not received, as fragments get lost somewhere in the
ethos
layer. If we look into wireshark, however, we actually see a fragmented datagram going in (frames 34 and 35 in my screenshot).Versions
Current master (5631b69)
The text was updated successfully, but these errors were encountered: