linux/net/core
Herbert Xu 9f514950bb [NET]: Take RTNL when unregistering notifier
The netdev notifier call chain is currently unregistered without taking
any locks outside the notifier system.  Because the notifier system itself
does not synchronise unregistration with respect to the calling of the
chain, we as its user need to do our own locking.

We are supposed to take the RTNL for all calls to netdev notifiers, so
taking the RTNL should be sufficient to protect it.

The registration path in dev.c already takes the RTNL so it's OK.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-25 01:24:25 -08:00
..
datagram.c [NET]: Revert skb_copy_datagram_iovec() recursion elimination. 2006-02-13 16:06:10 -08:00
dev_mcast.c
dev.c [NET]: Take RTNL when unregistering notifier 2006-03-25 01:24:25 -08:00
dst.c
dv.c
ethtool.c
filter.c [NET]: more whitespace issues in net/core/filter.c 2006-01-23 16:26:16 -08:00
flow.c [NET] sem2mutex: net/ 2006-03-20 22:33:17 -08:00
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
Makefile [PATCH] net/: fix the WIRELESS_EXT abuse 2006-01-30 20:35:30 -05:00
neighbour.c [NET]: Move destructor from neigh->ops to neigh_params 2006-03-20 22:25:41 -08:00
net-sysfs.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
netpoll.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
pktgen.c [PKTGEN]: Add MPLS extension. 2006-03-23 01:10:26 -08:00
request_sock.c [REQSK]: Don't reset rskq_defer_accept in reqsk_queue_alloc 2006-02-27 13:30:43 -08:00
rtnetlink.c [PATCH] WE-20 for kernel 2.6.16 2006-03-23 07:12:57 -05:00
scm.c
skbuff.c [SK_BUFF]: export skb_pull_rcsum 2006-03-20 22:47:55 -08:00
sock.c [NET]: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. 2006-03-24 15:44:59 -08:00
stream.c
sysctl_net_core.c [IPSEC]: Sync series - core changes 2006-03-20 19:15:11 -08:00
utils.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
wireless.c [PATCH] WE-20 for kernel 2.6.16 2006-03-23 07:12:57 -05:00