aboutsummaryrefslogtreecommitdiffstats
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
parentnet: phy: Make use of linkmode_mod_bit helper (diff)
downloadlinux-dev-a96701fb3534c45bd6fe5e6f6d3a91e3acc19b59.tar.xz
linux-dev-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 '')
-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 */