]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Fix to handle SHUTDOWN in SHUTDOWN_RECEIVED state
authorWei Yongjun <yjwei@cn.fujitsu.com>
Thu, 23 Oct 2008 08:01:18 +0000 (01:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Oct 2008 08:01:18 +0000 (01:01 -0700)
commitd80999d755271a572909a5281844f33b5a1d6877
treee4a08c8d2c43d8fc45937fe9db85f616d2f7c7a1
parentca683796dee2107fd143ca22b0f5e0fe99cf8aae
sctp: Fix to handle SHUTDOWN in SHUTDOWN_RECEIVED state

Once an endpoint has reached the SHUTDOWN-RECEIVED state,
it MUST NOT send a SHUTDOWN in response to a ULP request.
The Cumulative TSN Ack of the received SHUTDOWN chunk
MUST be processed.

This patch fix to process Cumulative TSN Ack of the received
SHUTDOWN chunk in SHUTDOWN_RECEIVED state.

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>
include/net/sctp/sm.h
net/sctp/sm_statefuns.c
net/sctp/sm_statetable.c