]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add asconf_enable in struct sctp_endpoint
authorXin Long <lucien.xin@gmail.com>
Mon, 19 Aug 2019 14:02:43 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 01:27:28 +0000 (18:27 -0700)
commitdf453f0d852f0b9572fb1e51d6f1ea52a0076f31
treefd1e02768a723e6e7dbf97e289b6afceb9181223
parentbb7768b47d0a50346334972106832f607eb921ff
sctp: add asconf_enable in struct sctp_endpoint

This patch is to make addip/asconf flag per endpoint,
and its value is initialized by the per netns flag,
net->sctp.addip_enable.

It also replaces the checks of net->sctp.addip_enable
with ep->asconf_enable in some places.

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