sctp: implement receiver-side procedures for the Add Incoming Streams Request Parameter
authorXin Long <lucien.xin@gmail.com>
Fri, 10 Mar 2017 04:11:10 +0000 (12:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:22:24 +0000 (23:22 -0700)
commitc5c4ebb3ab87fd87e44a47ec8289238e6f6084c1
treec0740b8df669151e47d63c59ab0ef41d2559fa77
parent50a41591f11022dcf76c23238dce1a1a62470c46
sctp: implement receiver-side procedures for the Add Incoming Streams Request Parameter

This patch is to implement Receiver-Side Procedures for the Add Incoming
Streams Request Parameter described in rfc6525 section 5.2.6.

It is also to fix that it shouldn't have add streams when sending addstrm
in request, as the process in peer will handle it by sending a addstrm out
request back.

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/sm_statefuns.c
net/sctp/stream.c