summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2017-12-07 00:03:20 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-11 16:56:55 +0100
commitb1042d356305cd183459dea145fd59c0f7491e00 (patch)
tree63526e2298526f0d7de20b826de772385b1fd3aa /fs
parentnetlink: make netlink tap per netns (diff)
downloadlinux-b1042d356305cd183459dea145fd59c0f7491e00.tar.xz
linux-b1042d356305cd183459dea145fd59c0f7491e00.zip
netlink: convert netlink tap spinlock to mutex
Both netlink_add_tap() and netlink_remove_tap() are called in process context, no need to bother spinlock. Note, in fact, currently we always hold RTNL when calling these two functions, so we don't need any other lock at all, but keeping this lock doesn't harm anything. Cc: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions