summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet2015-05-15 21:39:26 +0200
committerDavid S. Miller2015-05-18 04:45:48 +0200
commita6c5ea4ccf0033591e6e476d7a273c0074c07aa7 (patch)
tree6611f01ed0a40826bde92cf7fd1b6746a61a927f /include/net/tcp.h
parentnet: fix sk_mem_reclaim_partial() (diff)
downloadkernel-qcow2-linux-a6c5ea4ccf0033591e6e476d7a273c0074c07aa7.tar.gz
kernel-qcow2-linux-a6c5ea4ccf0033591e6e476d7a273c0074c07aa7.tar.xz
kernel-qcow2-linux-a6c5ea4ccf0033591e6e476d7a273c0074c07aa7.zip
tcp: rename sk_forced_wmem_schedule() to sk_forced_mem_schedule()
We plan to use sk_forced_wmem_schedule() in input path as well, so make it non static and rename it. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 7ace6acbf5fd..841691a296dc 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -311,6 +311,8 @@ static inline bool tcp_out_of_memory(struct sock *sk)
return false;
}
+void sk_forced_mem_schedule(struct sock *sk, int size);
+
static inline bool tcp_too_many_orphans(struct sock *sk, int shift)
{
struct percpu_counter *ocp = sk->sk_prot->orphan_count;