All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [PATCH v3 1/9] Squash-to: "mptcp: Add ADD_ADDR handling"
@ 2020-02-21 16:48 Paolo Abeni
  0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-02-21 16:48 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Drop addr_signal flag: it belong to the PM and
needs additional locking

Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
---
 net/mptcp/options.c  | 5 -----
 net/mptcp/protocol.h | 1 -
 2 files changed, 6 deletions(-)

diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index 439bb14e29dc..331b020d64ae 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -438,9 +438,6 @@ static bool mptcp_established_options_addr(struct sock *sk,
 	if (!msk)
 		return false;
 
-	if (!msk->addr_signal)
-		return false;
-
 	id = 0;
 	memset(&saddr, 0, sizeof(saddr));
 
@@ -463,8 +460,6 @@ static bool mptcp_established_options_addr(struct sock *sk,
 	}
 #endif
 
-	msk->addr_signal = 0;
-
 	return true;
 }
 
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index fa707a57f000..65ba8ddb62e6 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -91,7 +91,6 @@ struct mptcp_sock {
 	struct skb_ext	*cached_ext;	/* for the next sendmsg */
 	struct socket	*subflow; /* outgoing connect/listener/!mp_capable */
 	struct sock	*first;
-	u8		addr_signal;
 };
 
 #define mptcp_for_each_subflow(__msk, __subflow)			\
-- 
2.21.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-21 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 16:48 [MPTCP] [PATCH v3 1/9] Squash-to: "mptcp: Add ADD_ADDR handling" Paolo Abeni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.