Page MenuHomeFreeBSD

ure(4): Fix computation of L4 payload offset for IPv4 and IPv6.
Needs ReviewPublic

Authored by hselasky on Sep 16 2022, 2:07 PM.
Tags
None
Referenced Files
F162950375: D36598.id110633.diff
Sat, Jul 18, 3:22 PM
Unknown Object (File)
Tue, Jul 7, 1:16 PM
Unknown Object (File)
Thu, Jul 2, 7:30 PM
Unknown Object (File)
May 30 2026, 2:51 PM
Unknown Object (File)
May 30 2026, 1:47 PM
Unknown Object (File)
May 29 2026, 10:03 PM
Unknown Object (File)
May 28 2026, 6:59 AM
Unknown Object (File)
May 4 2026, 9:30 AM
Subscribers

Details

Reviewers
kevlo
mav

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Check next protocol field for IPv6.

sys/dev/usb/net/if_ure.c
2217

I see that tcp_default_output() and other transmission places are setting csum_data to the offset of the checksum field in respective protocol. In that sense the old code makes sense, checking how far into the packet the checksum field resides.