summaryrefslogtreecommitdiff
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-10-05 14:53:08 +0200
committerAlex Shi <alex.shi@linaro.org>2016-10-05 14:53:08 +0200
commitbe2a76aecfc5ed58ddf8925190cc1cfb519bf932 (patch)
treeaaeeec8a45d7be02a3fdc00f6f63273a0df6f7e2 /include/net/tcp.h
parent10fd238c91a8dd2fb9c9bce99eb4d357254fb3c6 (diff)
parentd19e48fe5da7b83d02ed4aec3567f08ae02a168c (diff)
Merge remote-tracking branch 'lts/linux-4.4.y' into linux-linaro-lsk-v4.4
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 414d822bc1db..9c3ab544d3a8 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1510,6 +1510,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)