sctp: handle ootb packet in chunk order as defined
authorShan Wei <shanwei@cn.fujitsu.com>
Tue, 19 Apr 2011 21:30:01 +0000 (21:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2011 08:51:04 +0000 (01:51 -0700)
commit85c5ed4e44a262344ce43b4bf23204107923ca95
tree1b494d271d2e08a4f316bbf8cbeb677eed11b939
parentdeb85a6ecc432a4f342004a6ac2a0dad7cba6846
sctp: handle ootb packet in chunk order as defined

Changed the order of processing SHUTDOWN ACK and COOKIE ACK
refer to section 8.4:Handle "Out of the Blue" Packets.

SHUTDOWN ACK chunk should be processed before processing
"Stale Cookie" ERROR or a COOKIE ACK.

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