diff options
| author | Jesse Brandeburg <[email protected]> | 2023-10-10 20:30:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-10-13 23:47:12 +0000 |
| commit | 242e34500a32631f85c2b4eb6cb42a368a39e54f (patch) | |
| tree | 15963b5085463dc1385e8e7f9eac7998f0f446e7 /net/ipv4/tcp_bpf.c | |
| parent | net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register() (diff) | |
| download | kernel-242e34500a32631f85c2b4eb6cb42a368a39e54f.tar.gz kernel-242e34500a32631f85c2b4eb6cb42a368a39e54f.zip | |
ice: fix over-shifted variable
Since the introduction of the ice driver the code has been
double-shifting the RSS enabling field, because the define already has
shifts in it and can't have the regular pattern of "a << shiftval &
mask" applied.
Most places in the code got it right, but one line was still wrong. Fix
this one location for easy backports to stable. An in-progress patch
fixes the defines to "standard" and will be applied as part of the
regular -next process sometime after this one.
Fixes: d76a60ba7afb ("ice: Add support for VLANs and offloads")
Reviewed-by: Przemek Kitszel <[email protected]>
CC: [email protected]
Signed-off-by: Jesse Brandeburg <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_bpf.c')
0 files changed, 0 insertions, 0 deletions
