Revert "mptcp: fix sometimes-uninitialized warning"

This reverts commit 4f36f19902.
This commit is contained in:
Ksawlii 2024-11-24 00:23:17 +01:00
parent 467421daae
commit ad9cd009c0

View file

@ -871,7 +871,7 @@ static void mptcp_subflow_discard_data(struct sock *ssk, struct sk_buff *skb,
struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk);
bool fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN;
struct tcp_sock *tp = tcp_sk(ssk);
u32 offset, incr = 0, avail_len;
u32 offset, incr, avail_len;
offset = tp->copied_seq - TCP_SKB_CB(skb)->seq;
if (WARN_ON_ONCE(offset > skb->len))