]> Pileus Git - ~andy/linux/commit
sctp: fix potential reference of a freed pointer
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 28 Apr 2010 08:47:19 +0000 (08:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:16:32 +0000 (12:16 -0700)
commit0c42749cffbb4a06be86c5e5db6c7ebad548781f
tree5b497b337457540b78c221fc173dbb634858a7a1
parent561b1733a465cf9677356b40c27653dd45f1ac56
sctp: fix potential reference of a freed pointer

When sctp attempts to update an assocition, it removes any
addresses that were not in the updated INITs.  However, the loop
may attempt to refrence a transport with address after removing it.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c