Home
last modified time | relevance | path

Searched hist:"29 c7cf96186ac14ce7380633f690fc39732ff03a" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/sctp/
H A Dipv6.cdiff 29c7cf96186ac14ce7380633f690fc39732ff03a Wed Dec 13 18:26:26 CST 2006 Sridhar Samudrala <sri@us.ibm.com> [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>
H A Dprotocol.cdiff 29c7cf96186ac14ce7380633f690fc39732ff03a Wed Dec 13 18:26:26 CST 2006 Sridhar Samudrala <sri@us.ibm.com> [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>
H A Dsocket.cdiff 29c7cf96186ac14ce7380633f690fc39732ff03a Wed Dec 13 18:26:26 CST 2006 Sridhar Samudrala <sri@us.ibm.com> [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>
/openbmc/linux/include/net/sctp/
H A Dstructs.hdiff 29c7cf96186ac14ce7380633f690fc39732ff03a Wed Dec 13 18:26:26 CST 2006 Sridhar Samudrala <sri@us.ibm.com> [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>