]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: not set peer.asconf_capable in sctp_association_init
authorXin Long <lucien.xin@gmail.com>
Mon, 19 Aug 2019 14:02:44 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 01:27:28 +0000 (18:27 -0700)
commitcdee5d0376c419ba2963d89c373a3e450d6d7451
treebbeba048546f22b9387816127acdadb4ab95e3aa
parentdf453f0d852f0b9572fb1e51d6f1ea52a0076f31
sctp: not set peer.asconf_capable in sctp_association_init

asoc->peer.asconf_capable is to be set during handshake, and its
value should be initialized to 0. net->sctp.addip_noauth will be
checked in sctp_process_init when processing INIT_ACK on client
and COOKIE_ECHO on server.

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