FreeBSD/src 8d4ceb9 (r340435)sys/net iflib.c

Prevent POLA violation with TSO/CSUM offload

Ensure that any time CSUM_IP_TSO or CSUM_IP6_TSO is set that the corresponding
CSUM_IP6?_TCP / CSUM_IP flags are also set.

Rather than requireing drivers to bake-in an understanding that TSO implies
checksum offloads, make it explicit.

This change requires us to move the IFLIB_NEED_ZERO_CSUM implementation to
ensure it's zeroed for TSO.

Reported by:    Jacob Keller <jacob.e.keller at intel.com>
MFC after:      1 week
Sponsored by:   Limelight Networks
Differential Revision:  https://reviews.freebsd.org/D17801
DeltaFile
+8-6sys/net/iflib.c
+8-61 files

UnifiedSplitRaw