]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix oops when updating retransmit path with DEBUG on
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 12 Apr 2011 15:20:48 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 02:33:50 +0000 (19:33 -0700)
commit90c7e32b8009bc7ff85c281f1b02b36828d59cbc
tree76467af7ca483f836f9acc2fc73f000db6223a4e
parent373f15ddf97d00b2ab9cab17abf1bf6bf1144ee9
sctp: fix oops when updating retransmit path with DEBUG on

commit 1ee8fdb17d6b19dd95eed62255e2aa6f27f59e73
  sctp: Do no select unconfirmed transports for retransmissions

Introduced the initial falt.

commit e79770166b701f7ad4229a537ca858d98a24ca5b
  sctp: Make sure we always return valid retransmit path

Solved the problem, but forgot to change the DEBUG statement.
Thus it was still possible to dereference a NULL pointer.

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