tcp: introduce tcp_under_memory_pressure()
authorEric Dumazet <edumazet@google.com>
Fri, 15 May 2015 19:39:27 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 02:45:48 +0000 (22:45 -0400)
commitb8da51ebb1aa93908350f95efae73aecbc2e266c
tree5d6b1edc272ea24b07ec2a38cbcba7c53fb44bae
parenta6c5ea4ccf0033591e6e476d7a273c0074c07aa7
tcp: introduce tcp_under_memory_pressure()

Introduce an optimized version of sk_under_memory_pressure()
for TCP. Our intent is to use it in fast paths.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c