diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-07 13:49:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 12:48:56 -0500 |
commit | 35a57b7fef136fa3d5b735ba773f191b95110fa0 (patch) | |
tree | e9660042bfba78f46327d71fe215a0fb5fbab8c6 /block | |
parent | 7eeb4a6ee4820c4e84895d252079a797f27fc80d (diff) | |
download | lwn-35a57b7fef136fa3d5b735ba773f191b95110fa0.tar.gz lwn-35a57b7fef136fa3d5b735ba773f191b95110fa0.zip |
hv_netvsc: fix locking for rx_mode
The rx_mode operation handler is different than other callbacks
in that is not always called with rtnl held. Therefore use
RCU to ensure that references are valid.
Fixes: bee9d41b37ea ("hv_netvsc: propagate rx filters to VF")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions