aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/zstd/lib/deprecated/(public-mirror)
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2026-10-16 04:40:03 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2026-10-16 04:40:03 +0000
commit32a981471c0147ea494745477434807cf8b6dadb (patch)
treeaa6dbb89b40cebbc3ef86262c2a28336e38fa82b /sys/contrib/zstd/lib/deprecated/(public-mirror)
parentc9599b80015a50e66c907dc667334a53bc234dab (diff)
ktls: Fix capability checks in ktls_reset_receive_tag()HEADmain
IFCAP2_RXTLS4 and IFCAP2_RXTLS6 are bit numbers, not masks, so ktls_reset_receive_tag() tested if_capenable2 against 0 for IPv4 and against the RXTLS4 bit for IPv6. An IPv4 connection with NIC receive TLS offload thus never got a new receive tag after its packets moved to another interface, and fell back to software decryption for good. c721694 fixed the same checks in ktls_alloc_rcv_tag(); use IFCAP2_BIT() here as well. Fixes: fe8c78f ("ktls: Add full support for TLS RX offloading via network interface.") Approved by: gallatin, kib Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D60757
Diffstat (limited to 'sys/contrib/zstd/lib/deprecated/(public-mirror)')
0 files changed, 0 insertions, 0 deletions