]> git.baikalelectronics.ru Git - kernel.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)
commit7585289cf08c81291a4e683529795a6db08a942e
treeda186fb9cfae2acbee3c3d63b049256f82076249
parent58275e46eb3148aad0b711e1a0de0df6ca2be2a0
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