android_kernel_xiaomi_sm8350/include/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
..
command.h [SCTP]: SCTP_CMD_PROCESS_CTSN annotations. 2006-12-02 21:27:14 -08:00
constants.h [SCTP]: Trivial sctp endianness annotations. 2006-12-02 21:26:23 -08:00
sctp.h [PATCH] sysctl: remove unused "context" param 2006-12-10 09:55:41 -08:00
sm.h [SCTP]: Trivial sctp endianness annotations. 2006-12-02 21:26:23 -08:00
structs.h [SCTP]: Handle address add/delete events in a more efficient way. 2006-12-13 16:48:27 -08:00
tsnmap.h [SCTP]: Annotate tsn_dups. 2006-12-02 21:26:22 -08:00
ulpevent.h [SCTP]: Fix receive buffer accounting. 2006-10-11 23:59:44 -07:00
ulpqueue.h
user.h