diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-03-10 12:11:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-12 23:22:23 -0700 |
commit | 692787cef6515188f25a5b6cdf008cfe10acf89f (patch) | |
tree | c1c6b9b56ef8d0a4a17981ea0a7bcb4ec4ad3434 /net/sctp/sm_statefuns.c | |
parent | c95129d127c6d3d9fca189c6f94c539a7f086b1a (diff) | |
download | lwn-692787cef6515188f25a5b6cdf008cfe10acf89f.tar.gz lwn-692787cef6515188f25a5b6cdf008cfe10acf89f.zip |
sctp: implement receiver-side procedures for the SSN/TSN Reset Request Parameter
This patch is to implement Receiver-Side Procedures for the SSN/TSN
Reset Request Parameter described in rfc6525 section 6.2.4.
The process is kind of complicate, it's wonth having some comments
from section 6.2.4 in the codes.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index e03bb1aab4d0..6982064957a7 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c @@ -3872,6 +3872,9 @@ sctp_disposition_t sctp_sf_do_reconf(struct net *net, else if (param.p->type == SCTP_PARAM_RESET_IN_REQUEST) reply = sctp_process_strreset_inreq( (struct sctp_association *)asoc, param, &ev); + else if (param.p->type == SCTP_PARAM_RESET_TSN_REQUEST) + reply = sctp_process_strreset_tsnreq( + (struct sctp_association *)asoc, param, &ev); /* More handles for other types will be added here, by now it * just ignores other types. */ |