diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-08 00:49:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-30 08:52:13 +0300 |
commit | b37bc05f44c6b4b7cb25583f8c5c85b81d6eb9e0 (patch) | |
tree | 9876f2cc2da1d9b8f312b015c518590b4f55af89 /arch/arm/mach-davinci | |
parent | 9241c4f472054a46605d0a820e3b93fa59c23406 (diff) | |
download | linux-b37bc05f44c6b4b7cb25583f8c5c85b81d6eb9e0.tar.xz |
hv_netvsc: fix locking for rx_mode
[ Upstream commit 35a57b7fef136fa3d5b735ba773f191b95110fa0 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-davinci')
0 files changed, 0 insertions, 0 deletions