]> asedeno.scripts.mit.edu Git - linux.git/commit
sctp: add SCTP_ASCONF_SUPPORTED sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 19 Aug 2019 14:02:46 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 01:27:28 +0000 (18:27 -0700)
commitdf2c71ffdfae58961981d7cbcccea93688fc4e96
treeda186fb9cfae2acbee3c3d63b049256f82076249
parenta2eeacc830438d738d21230325662fe5c22c3bf0
sctp: add SCTP_ASCONF_SUPPORTED sockopt

SCTP_ASCONF_SUPPORTED sockopt is used to set enpoint's asconf
flag. With this feature, each endpoint will have its own flag
for its future asoc's asconf_capable, instead of netns asconf
flag.

Note that when both ep's asconf_enable and auth_enable are
enabled, SCTP_CID_ASCONF and SCTP_CID_ASCONF_ACK should be
added into auth_chunk_list.

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