sctp: implement receiver-side procedures for the Outgoing SSN Reset Request Parameter
authorXin Long <lucien.xin@gmail.com>
Fri, 17 Feb 2017 04:45:39 +0000 (12:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2017 23:17:59 +0000 (18:17 -0500)
commit81054476453640159149cb6704e834893e16736b
tree6faa22e1bf0f166ab580617aa12afb40cadeb462
parent35ea82d611da59f8bea44a37996b3b11bb1d3fd7
sctp: implement receiver-side procedures for the Outgoing SSN Reset Request Parameter

This patch is to implement Receiver-Side Procedures for the Outgoing
SSN Reset Request Parameter described in rfc6525 section 5.2.2.

Note that some checks must be after request_seq check, as even those
checks fail, strreset_inseq still has to be increase by 1.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sm.h
net/sctp/stream.c