summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-29 18:20:56 +0200
committerDavid S. Miller <davem@davemloft.net>2018-03-29 19:47:53 +0200
commit350311aab4c0b2477f9cf3fb03cef2e4cd6c3b18 (patch)
treec29d81b825a786a6ad8bb54f807e58729127d753 /net/openvswitch
parentnet: Don't take rtnl_lock() in wireless_nlevent_flush() (diff)
downloadlinux-350311aab4c0b2477f9cf3fb03cef2e4cd6c3b18.tar.xz
linux-350311aab4c0b2477f9cf3fb03cef2e4cd6c3b18.zip
security: Remove rtnl_lock() in selinux_xfrm_notify_policyload()
rt_genid_bump_all() consists of ipv4 and ipv6 part. ipv4 part is incrementing of net::ipv4::rt_genid, and I see many places, where it's read without rtnl_lock(). ipv6 part calls __fib6_clean_all(), and it's also called without rtnl_lock() in other places. So, rtnl_lock() here was used to iterate net_namespace_list only, and we can remove it. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions