diff --git a/include/net/tcp.h b/include/net/tcp.h index d98b8de0b16c..e65f30e56939 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1309,6 +1309,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)