linux/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 [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -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 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 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]: Include sk_buff overhead while updating the peer's receive window. 2006-09-29 17:09:05 -07:00
outqueue.c [SCTP]: Even more trivial sctp annotations. 2006-12-02 21:27:15 -08:00
primitive.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sysctl.c [SCTP]: Remove multiple levels of msecs to jiffies conversions. 2006-09-22 14:55:39 -07:00
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 [SCTP]: Fix receive buffer accounting. 2006-10-11 23:59:44 -07:00