diff options
| author | Olivier Cochard <olivier@FreeBSD.org> | 2026-10-16 04:40:03 +0000 |
|---|---|---|
| committer | Olivier Cochard <olivier@FreeBSD.org> | 2026-10-16 04:40:03 +0000 |
| commit | 32a981471c0147ea494745477434807cf8b6dadb (patch) | |
| tree | aa6dbb89b40cebbc3ef86262c2a28336e38fa82b /llvm/lib/Support/HTTPClient.cpp | |
| parent | c9599b80015a50e66c907dc667334a53bc234dab (diff) | |
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 'llvm/lib/Support/HTTPClient.cpp')
0 files changed, 0 insertions, 0 deletions
