]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tcp: tcp_syn_flood_action() can be static
authorEric Dumazet <edumazet@google.com>
Wed, 25 Mar 2015 22:08:47 +0000 (15:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 19:17:18 +0000 (12:17 -0700)
commit41d25fe0927aabb1d4b671871a99a55bcd203257
tree745072871a02c09835f1b0ca4d8f8472eef17d52
parent1fb7cd4ef02bea6416b5afd60617d12ceb3533c1
tcp: tcp_syn_flood_action() can be static

After commit 1fb6f159fd21 ("tcp: add tcp_conn_request"),
tcp_syn_flood_action() is no longer used from IPv6.

We can make it static, by moving it above tcp_conn_request()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c