summaryrefslogtreecommitdiffstats
path: root/net/sctp/associola.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-07-09 00:57:04 +0800
committerDavid S. Miller <davem@davemloft.net>2019-07-08 20:16:24 -0700
commita96701fb3534c45bd6fe5e6f6d3a91e3acc19b59 (patch)
treebe56976cfbd9691bf79039fe50c95be1e119137a /net/sctp/associola.c
parentccf355e52a3265624b7acadd693c849d599e9b9f (diff)
downloadlinux-stable-a96701fb3534c45bd6fe5e6f6d3a91e3acc19b59.tar.gz
linux-stable-a96701fb3534c45bd6fe5e6f6d3a91e3acc19b59.tar.bz2
linux-stable-a96701fb3534c45bd6fe5e6f6d3a91e3acc19b59.zip
sctp: remove reconf_enable from asoc
asoc's reconf support is actually decided by the 4-shakehand negotiation, not something that users can set by sockopt. asoc->peer.reconf_capable is working for this. So remove it from asoc. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/associola.c')
-rw-r--r--net/sctp/associola.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c
index 1999237ce481..321c199edacf 100644
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -262,7 +262,6 @@ static struct sctp_association *sctp_association_init(
asoc->active_key_id = ep->active_key_id;
asoc->prsctp_enable = ep->prsctp_enable;
- asoc->reconf_enable = ep->reconf_enable;
asoc->strreset_enable = ep->strreset_enable;
/* Save the hmacs and chunks list into this association */