diff options
author | Stephen Hurd <shurd@FreeBSD.org> | 2018-11-14 15:23:39 +0000 |
---|---|---|
committer | Stephen Hurd <shurd@FreeBSD.org> | 2018-11-14 15:23:39 +0000 |
commit | 8d4ceb9cc49dded04f320ed36c92350355755077 (patch) | |
tree | b36b488eb69aae8dbfc28c89ffc0717bef88f7d2 /sys/isa/pnp.c | |
parent | 4d261ce278f6fc4bf8e2571d4c101cbf944c9155 (diff) | |
download | src-8d4ceb9cc49dded04f320ed36c92350355755077.tar.gz src-8d4ceb9cc49dded04f320ed36c92350355755077.zip |
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@intel.com>
MFC after: 1 week
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D17801
Notes
Notes:
svn path=/head/; revision=340435
Diffstat (limited to 'sys/isa/pnp.c')
0 files changed, 0 insertions, 0 deletions