Revert "mptcp: fix sometimes-uninitialized warning"
This reverts commit 4f36f19902
.
This commit is contained in:
parent
467421daae
commit
ad9cd009c0
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue