nl80211: Allow set network namespace by fd

Added new NL80211_ATTR_NETNS_FD which allows to
set namespace via nl80211 by fd.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Vadim Kochan
2015-01-12 16:34:05 +02:00
committed by Johannes Berg
parent fa7e1fbcb5
commit 4b681c82d2
3 changed files with 14 additions and 5 deletions

View File

@@ -2098,6 +2098,8 @@ enum nl80211_attrs {
NL80211_ATTR_SURVEY_RADIO_STATS,
NL80211_ATTR_NETNS_FD,
/* add attributes here, update the policy in nl80211.c */
__NL80211_ATTR_AFTER_LAST,