]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netns: avoid disabling irq for netns id
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 2 Sep 2016 04:53:45 +0000 (21:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Sep 2016 18:39:59 +0000 (11:39 -0700)
commitbc51dddf98c907b598e645ae4b277ed1295b6d5f
treeb12521d7249aac5ba8fbc3515eceff040d11e91b
parent38f507f1ba013effec3d7deb84273ac1829e6b87
netns: avoid disabling irq for netns id

We never read or change netns id in hardirq context,
the only place we read netns id in softirq context
is in vxlan_xmit(). So, it should be enough to just
disable BH.

Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c