summaryrefslogtreecommitdiff
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-03-24 22:33:22 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2017-03-24 22:33:22 +0100
commit9667ac21619a16bb0c280372fd4bb14be08d07f6 (patch)
tree870a1e4c31a363cae23e72314ca9120a5916bd69 /include/net/tcp.h
parentc1177831f5a1fd3ee9e5c3f9567526a5d62d5d78 (diff)
parenta4418c438de6ad397fd17f006ca86257fb9ec5a6 (diff)
Merge remote-tracking branch 'fslc/4.1-2.0.x-imx' into toradex_4.1-2.0.x-imx
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 6d204f3f9df8..3d3a365233f0 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1434,6 +1434,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)