]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix oops while removed transport still using as retran path
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 12 Apr 2011 15:22:22 +0000 (15:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 02:33:51 +0000 (19:33 -0700)
commitd0a00fc682dff7276a2e78023e4d31e5dea9f3e5
tree03d1eb5fffa30789455f12fb59bbd917e465e8c9
parent90c7e32b8009bc7ff85c281f1b02b36828d59cbc
sctp: fix oops while removed transport still using as retran path

Since we can not update retran path to unconfirmed transports,
when we remove a peer, the retran path may not be update if the
other transports are all unconfirmed, and we will still using
the removed transport as the retran path. This may cause panic
if retrasnmit happen.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c