1
linux/include/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
..
command.h [SCTP]: Set assoc_id correctly during INIT collision. 2007-05-04 13:55:27 -07:00
constants.h [SCTP]: Implement SCTP_MAX_BURST socket option. 2007-04-25 22:28:04 -07:00
sctp.h [SCTP]: Add RCU synchronization around sctp_localaddr_list 2007-09-16 16:02:12 -07:00
sm.h SCTP: Fix to encode PROTOCOL VIOLATION error cause correctly 2007-08-30 13:50:48 -04:00
structs.h [SCTP]: Convert bind_addr_list locking to RCU 2007-09-16 16:03:28 -07:00
tsnmap.h [SCTP]: Annotate tsn_dups. 2006-12-02 21:26:22 -08:00
ulpevent.h [SCTP]: Implement sac_info field in SCTP_ASSOC_CHANGE notification. 2007-04-25 22:28:03 -07:00
ulpqueue.h SCTP: properly clean up fragment and ordering queues during FWD-TSN. 2007-08-29 13:34:33 -04:00
user.h [SCTP]: Implement SCTP_MAX_BURST socket option. 2007-04-25 22:28:04 -07:00