commit | de133464c9e70808d3e5a861294bc55940988178 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Fri May 15 14:47:32 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 17 23:41:11 2015 -0400 |
tree | e39d1ddfa88dba0fa77a908513b392648c7e5bda | |
parent | 4ab7f9138147efbb3efab32a51a8da646769d740 [diff] |
netns: make nsid_lock per net The spinlock is used to protect netns_ids which is per net, so there is no need to use a global spinlock. Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>