HomeFreeBSD

MFC r309858

Description

MFC r309858
We currently don't do TSO if ip options are present. In case of IPv6, we look at
in6p_options to check that. That is incorrect as we carry ip options in
in6p_outputopts. Also, just checking for in6p_outputopts being NULL won't
suffice as we combine ip options and ip header fields both in that one field.
The commit fixes this by using ip6_optlen() which correctly calculates length
of only ip options for IPv6.

Sponsored by: Limelight Networks

Details

Committed
hirenJan 4 2017, 6:03 PM
Parents
rS311296: Snapshot what is currently in production.
Branches
Unknown
Tags
Unknown