diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 164659f2d636..b99ada27a136 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -4511,7 +4511,7 @@ static void tcp_ofo_queue(struct sock *sk) | |||
4511 | static int tcp_prune_ofo_queue(struct sock *sk); | 4511 | static int tcp_prune_ofo_queue(struct sock *sk); |
4512 | static int tcp_prune_queue(struct sock *sk); | 4512 | static int tcp_prune_queue(struct sock *sk); |
4513 | 4513 | ||
4514 | static inline int tcp_try_rmem_schedule(struct sock *sk, unsigned int size) | 4514 | static int tcp_try_rmem_schedule(struct sock *sk, unsigned int size) |
4515 | { | 4515 | { |
4516 | if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || | 4516 | if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || |
4517 | !sk_rmem_schedule(sk, size)) { | 4517 | !sk_rmem_schedule(sk, size)) { |