Message ID | 5c1d1dd6307b20c9ed1cc7e96855de630218a9e6.1584728932.git.pabeni@redhat.com |
---|---|
State | Accepted, archived |
Delegated to: | Matthieu Baerts |
Headers | show |
Series | squash and cleanup | expand |
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);
Drop another unneeded check Signed-off-by: Paolo Abeni <pabeni@redhat.com> --- net/mptcp/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)