android_kernel_xiaomi_sm8350/net/sctp
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
..
associola.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
bind_addr.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
chunk.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
command.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
endpointola.c [CRYPTO]: crypto_free_tfm() callers no longer need to check for NULL 2005-09-01 17:44:29 -07:00
input.c [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
inqueue.c [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. 2005-07-08 21:47:49 -07:00
ipv6.c [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
Kconfig 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
objcnt.c [SCTP]: Audit return code of create_proc_* 2005-07-18 13:38:07 -07:00
output.c [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. 2005-07-08 21:47:49 -07:00
outqueue.c [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. 2005-07-08 21:47:49 -07:00
primitive.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c [SCTP]: Add SENTINEL to SCTP MIB stats 2005-08-23 10:12:04 -07:00
protocol.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
sm_make_chunk.c [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
sm_sideeffect.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
sm_statefuns.c [SCTP]: Fix SCTP_SHUTDOWN notifications. 2005-09-22 23:48:38 -07:00
sm_statetable.c [SCTP] sctp_connectx() API support 2005-06-20 13:14:57 -07:00
socket.c [CRYPTO]: crypto_free_tfm() callers no longer need to check for NULL 2005-09-01 17:44:29 -07:00
ssnmap.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
sysctl.c [SCTP]: net/sctp/sysctl.c should #include <net/sctp/sctp.h> 2005-09-05 18:07:42 -07:00
transport.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
tsnmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ulpevent.c [SCTP]: __nocast annotations 2005-07-11 20:57:47 -07:00
ulpqueue.c [NET]: Kill skb->list 2005-08-29 15:31:14 -07:00