sctp: add sockopt SCTP_ENABLE_STREAM_RESET
authorXin Long <lucien.xin@gmail.com>
Tue, 17 Jan 2017 16:44:46 +0000 (00:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 19:55:10 +0000 (14:55 -0500)
commit9fb657aec0e20b4ed4401c44a4140f8d7b7a9ca0
treebd62de82294f3c2d543a1090eef9b7a26461f37a
parentc28445c3cb07ba1da2c1dc7b5f3066c686a6acc6
sctp: add sockopt SCTP_ENABLE_STREAM_RESET

This patch is to add sockopt SCTP_ENABLE_STREAM_RESET to get/set
strreset_enable to indicate which reconf request type it supports,
which is described in rfc6525 section 6.3.1.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
include/uapi/linux/sctp.h
net/sctp/associola.c
net/sctp/socket.c