diff mbox series

[v1,2/5] Squash-to: "mptcp: Add path manager interface"

Message ID 5d4aa2018c7b6049e83c71c7f89adcf1e404a6c2.1584728932.git.pabeni@redhat.com
State Accepted, archived
Delegated to: Matthieu Baerts
Headers show
Series squash and cleanup | expand

Commit Message

Paolo Abeni March 20, 2020, 6:34 p.m. UTC
Same as previous patch

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
 net/mptcp/options.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index fdab1869bf10..b21ea3147b91 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -692,8 +692,7 @@  void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
 
 	mpext->data_fin = mp_opt->data_fin;
 
-	if (msk)
-		mptcp_pm_fully_established(msk);
+	mptcp_pm_fully_established(msk);
 }
 
 void mptcp_write_options(__be32 *ptr, struct mptcp_out_options *opts)