]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb40446d3821bd84075b3606a1875eef26eb918a1
treec0740b8df669151e47d63c59ab0ef41d2559fa77
parent0f70823bd2b7241ec67a038d53b5e6cd846cb52f
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