]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Fix local_addr deletions during list traversals.
authorChidambar 'ilLogict' Zinnoury <illogict@online.fr>
Wed, 12 Mar 2008 01:05:02 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2008 01:05:02 +0000 (18:05 -0700)
commit281cdf226af9088b3390bf6257464923a6f47574
treeee7fb381a17fb8105b7f2f8cd40cc4b587d064d0
parent4414b255dc161ea74b49f005bf3675ee4ed62684
[SCTP]: Fix local_addr deletions during list traversals.

Since the lists are circular, we need to explicitely tag
the address to be deleted since we might end up freeing
the list head instead.  This fixes some interesting SCTP
crashes.

Signed-off-by: Chidambar 'ilLogict' Zinnoury <illogict@online.fr>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/bind_addr.c
net/sctp/ipv6.c
net/sctp/protocol.c