android_kernel_xiaomi_sm8350/net/decnet
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
..
netfilter [NETLINK]: Switch cb_lock spinlock to mutex and allow to override it 2007-04-25 22:29:03 -07:00
af_decnet.c [NET]: Make device event notification network namespace safe 2007-10-10 16:49:09 -07:00
dn_dev.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
dn_fib.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
dn_neigh.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
dn_nsp_in.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
dn_nsp_out.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
dn_route.c [NET]: Make packet reception network namespace safe 2007-10-10 16:49:08 -07:00
dn_rules.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
dn_table.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
dn_timer.c
Kconfig [NET]: Rethink mark field in struct flowi 2006-12-02 21:21:39 -08:00
Makefile
README
sysctl_net_decnet.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
TODO

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>