]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix panic when T4-rto timer expire on removed transport
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sun, 26 Apr 2009 15:14:42 +0000 (23:14 +0800)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 3 Jun 2009 13:14:46 +0000 (09:14 -0400)
commite7bb5574273ab2e81c376c3a4b6717d2efe5fcc6
tree9a2accb2150d3bfa7f2efc1a824b43ca654fb7ba
parent122c3f8c74812438e825186db94ebec1f3afbc1e
sctp: fix panic when T4-rto timer expire on removed transport

If T4-rto timer is expired on a removed transport, kernel panic
will occur when we do failure management on that transport.
You can reproduce this use the following sequence:

Endpoint A                           Endpoint B
(ESTABLISHED)                        (ESTABLISHED)

            <-----------------      ASCONF
                                    (SRC=X)
ASCONF        ----------------->
(Delete IP Address = X)
            <-----------------      ASCONF-ACK
                                    (Success Indication)
            <-----------------      ASCONF
                                    (T4-rto timer expire)

This patch fixed the problem.

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