All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [PATCH v1 5/5] Squash-to: "mptcp: update per unacked sequence on pkt reception"
@ 2020-03-20 18:34 Paolo Abeni
  0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-03-20 18:34 UTC (permalink / raw)
  To: mptcp

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

Drop another unneeded check

Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
---
 net/mptcp/options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index 353f9e74876d..4b86f1bbd6f1 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -839,7 +839,7 @@ void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
 	/* we can't wait for recvmsg() to update the ack_seq, otherwise
 	 * monodirectional flows will stuck
 	 */
-	if (msk && mp_opt->use_ack)
+	if (mp_opt->use_ack)
 		update_una(msk, mp_opt);
 
 	mpext = skb_ext_add(skb, SKB_EXT_MPTCP);
-- 
2.21.1

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

only message in thread, other threads:[~2020-03-20 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 18:34 [MPTCP] [PATCH v1 5/5] Squash-to: "mptcp: update per unacked sequence on pkt reception" 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.