Page MenuHomeFreeBSD

net: translate inbound checksum offloading flags to outbound when forwarding
Needs ReviewPublic

Authored by royger on May 27 2016, 4:08 PM.

Details

Reviewers
None
Group Reviewers
network
transport
Summary

According to the mbuf(9) man page, an inboud packet that contains the
CSUM_DATA_VALID and CSUM_PSEUDO_HDR flags and has it's checksum field set to
0xffff signals that the packet has been validated by the NIC, but that the
actual checksum has not been returned. Translate this flags correctly when
doing packet forwarding, or else the outbound path will wrongly think the
checksum is present.

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 3992
Build 4035: arc lint + arc unit

Event Timeline

royger retitled this revision from to net: translate inbound checksum offloading flags to outbound when forwarding.May 27 2016, 4:08 PM
royger updated this object.
royger edited the test plan for this revision. (Show Details)
royger updated this revision to Diff 16999.