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

This commit is contained in:
Linux Build Service Account 2016-11-24 06:13:22 -08:00 committed by Gerrit - the friendly Code Review server
commit 065421c6fa

View file

@ -1528,6 +1528,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)