summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/tcp.h')
-rw-r--r--kernel/include/net/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/net/tcp.h b/kernel/include/net/tcp.h
index 414d822bc..e9d7a8ef9 100644
--- a/kernel/include/net/tcp.h
+++ b/kernel/include/net/tcp.h
@@ -1156,6 +1156,7 @@ static inline void tcp_prequeue_init(struct tcp_sock *tp)
}
bool tcp_prequeue(struct sock *sk, struct sk_buff *skb);
+int tcp_filter(struct sock *sk, struct sk_buff *skb);
#undef STATE_TRACE
@@ -1510,6 +1511,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)