diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2008-10-23 01:01:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-23 01:01:18 -0700 |
commit | 2e3f92dad6bdbee796274bae5c1c50a6ddd31cbb (patch) | |
tree | e4a08c8d2c43d8fc45937fe9db85f616d2f7c7a1 /net/sctp/sm_statetable.c | |
parent | cf896d514a4564027929a6d284872c74987085ef (diff) | |
download | linux-2e3f92dad6bdbee796274bae5c1c50a6ddd31cbb.tar.gz linux-2e3f92dad6bdbee796274bae5c1c50a6ddd31cbb.tar.bz2 linux-2e3f92dad6bdbee796274bae5c1c50a6ddd31cbb.zip |
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>
Diffstat (limited to 'net/sctp/sm_statetable.c')
-rw-r--r-- | net/sctp/sm_statetable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_statetable.c b/net/sctp/sm_statetable.c index a5b5590dc1a6..5c8186d88c61 100644 --- a/net/sctp/sm_statetable.c +++ b/net/sctp/sm_statetable.c @@ -270,7 +270,7 @@ const sctp_sm_table_entry_t *sctp_sm_lookup_event(sctp_event_t event_type, /* SCTP_STATE_SHUTDOWN_SENT */ \ TYPE_SCTP_FUNC(sctp_sf_do_9_2_shutdown_ack), \ /* SCTP_STATE_SHUTDOWN_RECEIVED */ \ - TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \ + TYPE_SCTP_FUNC(sctp_sf_do_9_2_shut_ctsn), \ /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \ TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \ } /* TYPE_SCTP_SHUTDOWN */ |