]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: disallow moving netns
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 11 Feb 2009 19:27:30 +0000 (20:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:51:39 +0000 (14:51 -0500)
commit5f7cda3a84bcfb18b0b344870d11076249b94212
tree5d57012f770ea8cf7493b6db3027f60490412f0c
parenta9a27cee4d523ea989eb32ca2d6258551f624532
mac80211: disallow moving netns

mac80211 currently assumes init_net for all interfaces,
so really will not cope well with network namespaces,
at least at this time.

To change this, we would have keep track of the netns
in addition to the ifindex, which is not something I
want to think about right now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c
net/mac80211/main.c