OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From: Vadim Kochan <vadim4j@gmail.com> |
2 | Date: Mon, 12 Jan 2015 16:34:05 +0200 |
||
3 | Subject: [PATCH] nl80211: Allow set network namespace by fd |
||
4 | |||
5 | Added new NL80211_ATTR_NETNS_FD which allows to |
||
6 | set namespace via nl80211 by fd. |
||
7 | |||
8 | Signed-off-by: Vadim Kochan <vadim4j@gmail.com> |
||
9 | Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
||
10 | --- |
||
11 | |||
12 | --- a/net/core/net_namespace.c |
||
13 | +++ b/net/core/net_namespace.c |
||
14 | @@ -380,6 +380,7 @@ struct net *get_net_ns_by_fd(int fd) |
||
15 | return ERR_PTR(-EINVAL); |
||
16 | } |
||
17 | #endif |
||
18 | +EXPORT_SYMBOL_GPL(get_net_ns_by_fd); |
||
19 | |||
20 | struct net *get_net_ns_by_pid(pid_t pid) |
||
21 | { |