kernel-ark/net/sctp
Sridhar Samudrala 29c7cf9618 [SCTP]: Handle address add/delete events in a more efficient way.
Currently in SCTP, we maintain a local address list by rebuilding the whole
list from the device list whenever we get a address add/delete event.

This patch fixes it by only adding/deleting the address for which we
receive the event.

Also removed the sctp_local_addr_lock() which is no longer needed as we
now use list_for_each_safe() to traverse this list. This fixes the bugs
in sctp_copy_laddrs_xxx() routines where we do copy_to_user() while
holding this lock.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-12-13 16:48:27 -08:00
..
associola.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
bind_addr.c [SCTP]: ->a_h is gone now. 2006-12-02 21:27:00 -08:00
chunk.c
command.c
crc32c.c
debug.c
endpointola.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
input.c [SCTP]: sctp_has_association() switched to net-endian. 2006-12-02 21:26:50 -08:00
inqueue.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
ipv6.c [SCTP]: Handle address add/delete events in a more efficient way. 2006-12-13 16:48:27 -08:00
Kconfig
Makefile
objcnt.c
output.c
outqueue.c [SCTP]: Even more trivial sctp annotations. 2006-12-02 21:27:15 -08:00
primitive.c
proc.c [SCTP]: Switch ->primary_addr to net-endian. 2006-12-02 21:26:34 -08:00
protocol.c [SCTP]: Handle address add/delete events in a more efficient way. 2006-12-13 16:48:27 -08:00
sm_make_chunk.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
sm_sideeffect.c [SCTP]: SCTP_CMD_PROCESS_CTSN annotations. 2006-12-02 21:27:14 -08:00
sm_statefuns.c [SCTP]: Even more trivial sctp annotations. 2006-12-02 21:27:15 -08:00
sm_statetable.c [SCTP]: Cleanup of the sctp state table code. 2006-12-02 21:22:26 -08:00
socket.c [SCTP]: Handle address add/delete events in a more efficient way. 2006-12-13 16:48:27 -08:00
ssnmap.c
sysctl.c
transport.c [SCTP]: ->a_h is gone now. 2006-12-02 21:27:05 -08:00
tsnmap.c [SCTP]: More trivial sctp annotations. 2006-12-02 21:27:13 -08:00
ulpevent.c [SCTP]: More trivial sctp annotations. 2006-12-02 21:27:13 -08:00
ulpqueue.c