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>
This commit is contained in:

committed by
David S. Miller

parent
50a41591f1
commit
c5c4ebb3ab
@@ -3878,6 +3878,9 @@ sctp_disposition_t sctp_sf_do_reconf(struct net *net,
|
||||
else if (param.p->type == SCTP_PARAM_RESET_ADD_OUT_STREAMS)
|
||||
reply = sctp_process_strreset_addstrm_out(
|
||||
(struct sctp_association *)asoc, param, &ev);
|
||||
else if (param.p->type == SCTP_PARAM_RESET_ADD_IN_STREAMS)
|
||||
reply = sctp_process_strreset_addstrm_in(
|
||||
(struct sctp_association *)asoc, param, &ev);
|
||||
/* More handles for other types will be added here, by now it
|
||||
* just ignores other types.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user