linux-sg2042/drivers/net/wan
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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-10-03 14:35:55 -07:00
..
lmc [netdrvrs] Use netif_carrier_* instead of IFF_RUNNING 2005-05-12 19:45:25 -04:00
Kconfig [PATCH] Remove duplicate file in Documentation/networking (drivers_net_wan_Kconfig) 2005-06-25 16:25:09 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c101.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cosa.c [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
cosa.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cycx_drv.c [PATCH] net/cycx_drv: replace delay_cycx() with msleep_interruptible() 2005-08-19 02:55:02 -04:00
cycx_main.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cycx_x25.c [WAN]: kfree of NULL pointer is valid 2005-05-03 14:33:27 -07:00
dlci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dscc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
farsync.c [NET]: __be'ify *_type_trans() 2005-07-12 12:08:43 -07:00
farsync.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hd6457x.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hd64570.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hd64572.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdlc_cisco.c [WAN] hdlc_cisco: Fix regression introduced by skb->tail changes. 2005-09-19 15:39:32 -07:00
hdlc_fr.c [PATCH] Generic HDLC update 2005-05-15 22:24:12 -04:00
hdlc_generic.c [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
hdlc_ppp.c [NET]: __be'ify *_type_trans() 2005-07-12 12:08:43 -07:00
hdlc_raw.c [NET]: __be'ify *_type_trans() 2005-07-12 12:08:43 -07:00
hdlc_raw_eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdlc_x25.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hostess_sv11.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lapbether.c [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
n2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pc300-falc-lh.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pc300.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pc300_drv.c [PATCH] PC300 pci_enable_device fix 2005-04-26 13:09:35 -07:00
pc300_tty.c [WAN]: kfree of NULL pointer is valid 2005-05-03 14:33:27 -07:00
pci200syn.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbni.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbni.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sdla.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sdla_chdlc.c [WAN]: kfree of NULL pointer is valid 2005-05-03 14:33:27 -07:00
sdla_fr.c [NET]: Kill skb->list 2005-08-29 15:31:14 -07:00
sdla_ft1.c [WAN]: drivers/net/wan/: use of time_after macro 2005-07-15 09:59:26 -07:00
sdla_ppp.c [WAN]: drivers/net/wan/: use of time_after macro 2005-07-15 09:59:26 -07:00
sdla_x25.c [WAN]: drivers/net/wan/: use of time_after macro 2005-07-15 09:59:26 -07:00
sdladrv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sdlamain.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
sealevel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syncppp.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
wanpipe_multppp.c [WAN]: drivers/net/wan/: use of time_after macro 2005-07-15 09:59:26 -07:00
wanxl.c drivers/net/: Use the DMA_{64,32}BIT_MASK constants 2005-06-26 18:22:14 -04:00
wanxl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wanxlfw.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wanxlfw.inc_shipped Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
x25_asy.c [PATCH] Convert users to tty_unregister_ldisc() 2005-06-23 09:45:36 -07:00
x25_asy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
z85230.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
z85230.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00