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)
commitbb2ded26028be00204dbe2153f98fbd1902a2187
treebbeba048546f22b9387816127acdadb4ab95e3aa
parent4e27428fb5626f966aa961b1aad8751f2ebeef72
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