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)
commit2e3f92dad6bdbee796274bae5c1c50a6ddd31cbb
treee4a08c8d2c43d8fc45937fe9db85f616d2f7c7a1
parentcf896d514a4564027929a6d284872c74987085ef
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