linux/net
Eric W. Biederman e9dc865340 [NET]: Make device event notification network namespace safe
Every user of the network device notifiers is either a protocol
stack or a pseudo device.  If a protocol stack that does not have
support for multiple network namespaces receives an event for a
device that is not in the initial network namespace it quite possibly
can get confused and do the wrong thing.

To avoid problems until all of the protocol stacks are converted
this patch modifies all netdev event handlers to ignore events on
devices that are not in the initial network namespace.

As the rest of the code is made network namespace aware these
checks can be removed.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:09 -07:00
..
9p 9p: fix bad error path in conversion routines 2007-08-23 10:25:05 -05:00
802 [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
8021q [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
appletalk [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
atm [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
ax25 [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
bluetooth [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
bridge [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
core [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
dccp [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
decnet [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
econet [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
ethernet [NET] ethernet: optimize memcpy and memset 2007-10-10 16:48:26 -07:00
ieee80211 [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
ipv4 [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
ipv6 [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
ipx [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
irda [NET]: Make packet reception network namespace safe 2007-10-10 16:49:08 -07:00
iucv [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
key [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
lapb [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
llc [NET]: Make packet reception network namespace safe 2007-10-10 16:49:08 -07:00
mac80211 [MAC80211]: make assoc_ap a flag 2007-10-10 16:48:58 -07:00
netfilter [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
netlabel [NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping hash table 2007-08-07 17:53:10 -07:00
netlink [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
netrom [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
packet [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
rfkill [NET] RFKILL: Fix whitespace errors. 2007-07-19 10:44:38 +09:00
rose [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
rxrpc [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sched [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
sctp [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sunrpc [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
tipc [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
unix [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
wanrouter [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
wireless [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
x25 [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
xfrm [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
compat.c O_CLOEXEC for SCM_RIGHTS 2007-07-16 09:05:45 -07:00
Kconfig 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
Makefile 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
nonet.c
socket.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sysctl_net.c
TUNABLE