diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip.h | 2 | ||||
-rw-r--r-- | include/net/tcp.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index f41fc497b21b..117bde93995d 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -234,6 +234,8 @@ static inline int inet_is_local_reserved_port(struct net *net, int port) } #endif +__be32 inet_current_timestamp(void); + /* From inetpeer.c */ extern int inet_peer_threshold; extern int inet_peer_minttl; 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) |