HomeFreeBSD

MFC r306458: Properly preserve ip_tos bits for IPv4 packets

Description

MFC r306458: Properly preserve ip_tos bits for IPv4 packets

Restructure code slightly to save ip_tos bits earlier. Fix the bug
where the ip_tos field is zeroed out before assigning to the iptos
variable. Restore the ip_tos and ip_ver fields only if they have
been zeroed during the pseudo-header checksum calculation.

Details

Committed
lidlOct 13 2016, 3:10 AM
Parents
rS307172: MFC r306696: Make 502.pfdenied find blacklistd/* filter names dynamically
Branches
Unknown
Tags
Unknown