diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-10-29 07:15:14 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-10-29 18:08:01 +0000 |
| commit | b06db8c9dafb1734923e0483323920b4b0a05cc9 (patch) | |
| tree | ff4f087e83ea295f59c81f496431ced1701df44c /packages/mlx-tools/(public-mirror) | |
| parent | 36c4912749ab1d12692302386050e25ce8b1d9de (diff) | |
RSS hash types are encoded values, not independent flags. The bitmask
check in M_HASHTYPE_ISHASH_TCP() also accepts UDP, address-only and opaque
hash types, causing the syncache to retain them instead of falling back
to a software TCP hash.
Compare against the three TCP four-tuple hash types after masking the
inner-header flag. Keep the existing macro interface and use an inline
helper to preserve single evaluation of its argument.
Add ATF coverage for all 256 hash-type byte values, including inner-header
hashes, and verify single evaluation of the mbuf argument.
Reviewed by: cc, gallatin
Fixes: a485399f8834 ("tcp: restrict flowtype copying to specific RSS TCP types")
Sponsored by: BBOX.io
Diffstat (limited to 'packages/mlx-tools/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
