]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix netns separation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 12:14:22 +0000 (14:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 08:57:01 +0000 (10:57 +0200)
commitda1eda854b554aec882d4a2afd1f9d1d084b62b0
treed45f75665ceea2c56cc0b738ba4b0a099241aa84
parente78b1070830193a0ee3febbd0a5c0c4eb21a115f
nl80211: fix netns separation

There are currently a few ways to "escape"
the network namespace and access a wiphy
that belongs to another namespace. Add a
netns argument to the relevant functions
to fix this.

One remaining issue with testmode will be
fixed in a follow-up patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c