aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/usb2/input/(developers-only)
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-12-06 03:36:16 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-12-06 03:36:16 +0000
commit8b2291704128146d2087ab7dd06a5ed4cd23328e (patch)
treee5fefbe9dc2c3fd01ad65e97618b0f56f2cceceb /sys/modules/usb2/input/(developers-only)
parent03a8428afd467cfdeebce05257e0b79c189f8fce (diff)
toeplitz: Bound the key by its lengthHEADmain
toeplitz_hash() takes the length of the key but read RSS_KEYSIZE bytes of it whatever that length was: past the end of a shorter key, and not all of a longer one. Bound it by the length it is given. The callers, the RSS hash and the multipath hash in in_fib.c and in6_fib.c, all pass 40-byte keys, RSS_KEYSIZE, so nothing changes for them. toeplitz.c no longer needs <net/rss_config.h>. Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/modules/usb2/input/(developers-only)')
0 files changed, 0 insertions, 0 deletions