diff options
-rw-r--r-- | include/net/tcp.h | 1 | ||||
-rw-r--r-- | net/ipv4/tcp.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 2c2f24ffa383..7ffbcbf90a64 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -371,7 +371,6 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | |||
371 | void tcp_rcv_established(struct sock *sk, struct sk_buff *skb, | 371 | void tcp_rcv_established(struct sock *sk, struct sk_buff *skb, |
372 | const struct tcphdr *th, unsigned int len); | 372 | const struct tcphdr *th, unsigned int len); |
373 | void tcp_rcv_space_adjust(struct sock *sk); | 373 | void tcp_rcv_space_adjust(struct sock *sk); |
374 | void tcp_cleanup_rbuf(struct sock *sk, int copied); | ||
375 | int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp); | 374 | int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp); |
376 | void tcp_twsk_destructor(struct sock *sk); | 375 | void tcp_twsk_destructor(struct sock *sk); |
377 | ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, | 376 | ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 28595a364f09..4874a0efd34a 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1377,7 +1377,7 @@ static int tcp_peek_sndq(struct sock *sk, struct msghdr *msg, int len) | |||
1377 | * calculation of whether or not we must ACK for the sake of | 1377 | * calculation of whether or not we must ACK for the sake of |
1378 | * a window update. | 1378 | * a window update. |
1379 | */ | 1379 | */ |
1380 | void tcp_cleanup_rbuf(struct sock *sk, int copied) | 1380 | static void tcp_cleanup_rbuf(struct sock *sk, int copied) |
1381 | { | 1381 | { |
1382 | struct tcp_sock *tp = tcp_sk(sk); | 1382 | struct tcp_sock *tp = tcp_sk(sk); |
1383 | bool time_to_ack = false; | 1383 | bool time_to_ack = false; |