sctp: add stream reconf primitive
authorXin Long <lucien.xin@gmail.com>
Tue, 17 Jan 2017 16:44:44 +0000 (00:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 19:55:10 +0000 (14:55 -0500)
commit7a090b04522b46a219c271d4cd2abbf572623e03
tree54c33372eb70a012a22d715130fdff9c504fa1fa
parent7b9438de0cd4b46a6914416bfede6cf839cd9e68
sctp: add stream reconf primitive

This patch is to add a primitive based on sctp primitive frame for
sending stream reconf request. It works as the other primitives,
and create a SCTP_CMD_REPLY command to send the request chunk out.

sctp_primitive_RECONF would be the api to send a reconf request
chunk.

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