summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorEdward Cree2018-03-27 18:44:36 +0200
committerDavid S. Miller2018-03-27 19:33:20 +0200
commite0a65e3c5e3b7b11ec9320524b8fcc210f2026e9 (patch)
treee82d5fb1d37ef7bff0c1d75a2cbe1f7f0ede3e57 /block/partitions
parentsfc: return a better error if filter insertion collides with MC reboot (diff)
downloadkernel-qcow2-linux-e0a65e3c5e3b7b11ec9320524b8fcc210f2026e9.tar.gz
kernel-qcow2-linux-e0a65e3c5e3b7b11ec9320524b8fcc210f2026e9.tar.xz
kernel-qcow2-linux-e0a65e3c5e3b7b11ec9320524b8fcc210f2026e9.zip
sfc: protect list of RSS contexts under a mutex
Otherwise races are possible between ethtool ops and efx_ef10_rx_restore_rss_contexts(). Also, don't try to perform the restore on every reset, only after an MC reboot, otherwise we'll leak RSS contexts on the NIC. Fixes: 42356d9a137b ("sfc: support RSS spreading of ethtool ntuple filters") Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions