Herbert Xu
e5ed639913
[IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl
...
The following patch renames __in_dev_get() to __in_dev_get_rtnl() and
introduces __in_dev_get_rcu() to cover the second case.
1) RCU with refcnt should use in_dev_get().
2) RCU without refcnt should use __in_dev_get_rcu().
3) All others must hold RTNL and use __in_dev_get_rtnl().
There is one exception in net/ipv4/route.c which is in fact a pre-existing
race condition. I've marked it as such so that we remember to fix it.
This patch is based on suggestions and prior work by Suzanne Wood and
Paul McKenney.
Signed-off-by: Herbert Xu <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2005-10-03 14:35:55 -07:00
..
addr.c
[ATM]: fix bug in atm address list handling
2005-09-28 16:35:22 -07:00
addr.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
atm_misc.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
br2684.c
[NET]: __be'ify *_type_trans()
2005-07-12 12:08:43 -07:00
clip.c
[IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl
2005-10-03 14:35:55 -07:00
common.c
[INET]: speedup inet (tcp/dccp) lookups
2005-10-03 14:13:38 -07:00
common.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
ioctl.c
[ATM]: net/atm/ioctl.c: autoload pppoatm and br2684
2005-09-28 16:34:24 -07:00
ipcommon.c
[NET]: Kill skb->list
2005-08-29 15:31:14 -07:00
ipcommon.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
Kconfig
[ATM]: Trivial spelling fix patch for net/Kconfig
2005-07-19 13:56:53 -07:00
lec.c
[ATM]: [lec] reset retry counter when new arp issued
2005-09-29 17:31:30 -07:00
lec.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
lec_arpc.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
Makefile
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
mpc.c
[PATCH] timer initialization cleanup: DEFINE_TIMER
2005-09-09 14:03:48 -07:00
mpc.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
mpoa_caches.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
mpoa_caches.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
mpoa_proc.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
pppoatm.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
proc.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
protocols.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
pvc.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
raw.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
resources.c
[ATM]: net/atm/resources.c: remove __free_atm_dev
2005-04-21 16:48:26 -07:00
resources.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
signaling.c
[ATM]: track and close listen sockets when sigd exits
2005-09-28 16:35:01 -07:00
signaling.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
svc.c
[ATM]: track and close listen sockets when sigd exits
2005-09-28 16:35:01 -07:00