summaryrefslogtreecommitdiff
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-09-07 14:37:52 -0700
committerDmitry Shmidt <dimitrysh@google.com>2016-09-07 14:37:52 -0700
commitcade80573cf8a76e46a95f8a714dd264c67bcb96 (patch)
tree7e7b236076db5b9f6630a3269d5cdc02a2adfb08 /include/net/tcp.h
parent5c0fc54c9b67e04d533b5ebec718d37f747a9170 (diff)
parent6b93f8214eabf0f363eab5283c2ad18b5bc33135 (diff)
Merge remote-tracking branch 'common/android-4.4' into android-4.4.y
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 b36cebad6b2f..6c480679423e 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1513,6 +1513,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)