summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2016-05-14 10:34:44 +0200
committerJohannes Berg <johannes@sipsolutions.net>2016-06-30 12:06:17 +0200
commitf21e4d8ed16bb9cae27c7f1a07a2e0cd4daab736 (patch)
tree3ba49aa3a9adf34baeaf0d4e37e28a1f4f8b5699 /net
parentee58b57100ca953da7320c285315a95db2f7053d (diff)
downloadlinux-f21e4d8ed16bb9cae27c7f1a07a2e0cd4daab736.tar.bz2
mac80211_hwsim: Allow wmediumd to attach to radios created in its netns
Registering wmediumd is currently limited to the initial network namespace. This patch enables wmediumd to attach from non-initial network namespaces using a user namespace having CAP_NET_ADMIN. A registered wmediumd can forward frames on radios that have been created in the same network namespace, even if they have been moved to other network namespaces. The wmediumd Netlink portid is tracked per net namespace. Additionally, the portid is stored on all radios created in that net namespace to simplify the portid lookup in the data path. Signed-off-by: Martin Willi <martin@strongswan.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions