Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4003190 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tcp: fix use after free in tcp_xmit_retransmit_queue()"

parents 2bb582e0 8f91fc24
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1448,6 +1448,8 @@ static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unli
{
	if (sk->sk_send_head == skb_unlinked)
		sk->sk_send_head = NULL;
	if (tcp_sk(sk)->highest_sack == skb_unlinked)
		tcp_sk(sk)->highest_sack = NULL;
}

static inline void tcp_init_send_head(struct sock *sk)