diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-01-12 15:34:05 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-23 10:25:25 +0100 |
commit | 4b681c82d2f9bef121c912ffcaac89a004af3f2c (patch) | |
tree | af24f8eb044ffbddd346c3e34cd611963ab760ef /net/core | |
parent | mac80211: allow drivers to control software crypto (diff) | |
download | linux-4b681c82d2f9bef121c912ffcaac89a004af3f2c.tar.xz linux-4b681c82d2f9bef121c912ffcaac89a004af3f2c.zip |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/net_namespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 7f155175bba8..5d5ee8f3e4ff 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -361,6 +361,7 @@ struct net *get_net_ns_by_fd(int fd) return ERR_PTR(-EINVAL); } #endif +EXPORT_SYMBOL_GPL(get_net_ns_by_fd); struct net *get_net_ns_by_pid(pid_t pid) { |