linux/net/sctp
Vlad Yasevich 559cf710b0 [SCTP]: Convert bind_addr_list locking to RCU
Since the sctp_sockaddr_entry is now RCU enabled as part of
the patch to synchronize sctp_localaddr_list, it makes sense to
change all handling of these entries to RCU.  This includes the
sctp_bind_addrs structure and it's list of bound addresses.

This list is currently protected by an external rw_lock and that
looks like an overkill.  There are only 2 writers to the list:
bind()/bindx() calls, and BH processing of ASCONF-ACK chunks.
These are already seriealized via the socket lock, so they will
not step on each other.  These are also relatively rare, so we
should be good with RCU.

The readers are varied and they are easily converted to RCU.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Sridhar Samdurala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-09-16 16:03:28 -07:00
..
associola.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
bind_addr.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
chunk.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
command.c
crc32c.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
debug.c [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
endpointola.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
input.c sctp: make locally used function static 2007-08-01 11:19:05 -04:00
inqueue.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
ipv6.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
Kconfig [SCTP]: Use menuconfig objects. 2007-05-24 16:36:48 -07:00
Makefile
objcnt.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
output.c [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
outqueue.c SCTP: Do not retransmit chunks that are newer then rtt. 2007-08-30 13:56:06 -04:00
primitive.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
proc.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
protocol.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
sm_make_chunk.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
sm_sideeffect.c SCTP: Use net_ratelimit to suppress error messages print too fast 2007-08-30 13:52:56 -04:00
sm_statefuns.c SCTP: Abort on COOKIE-ECHO if backlog is exceeded. 2007-08-30 14:12:25 -04:00
sm_statetable.c [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
socket.c [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
ssnmap.c
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
transport.c [SCTP] Don't disable PMTU discovery when mtu is small 2007-06-13 20:44:42 +00:00
tsnmap.c sctp: fix shadow symbol in net/sctp/tsnmap.c 2007-08-01 11:19:06 -04:00
ulpevent.c [SCTP]: Do not include ABORT chunk header in the notification. 2007-05-10 23:45:31 -07:00
ulpqueue.c SCTP: properly clean up fragment and ordering queues during FWD-TSN. 2007-08-29 13:34:33 -04:00