diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-25 18:08:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 15:17:18 -0400 |
commit | 41d25fe0927aabb1d4b671871a99a55bcd203257 (patch) | |
tree | 745072871a02c09835f1b0ca4d8f8472eef17d52 /include/net/tcp.h | |
parent | 1fb7cd4ef02bea6416b5afd60617d12ceb3533c1 (diff) |
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>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 42690daa924e..963303fb96ae 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -529,8 +529,6 @@ int tcp_write_wakeup(struct sock *); | |||
529 | void tcp_send_fin(struct sock *sk); | 529 | void tcp_send_fin(struct sock *sk); |
530 | void tcp_send_active_reset(struct sock *sk, gfp_t priority); | 530 | void tcp_send_active_reset(struct sock *sk, gfp_t priority); |
531 | int tcp_send_synack(struct sock *); | 531 | int tcp_send_synack(struct sock *); |
532 | bool tcp_syn_flood_action(struct sock *sk, const struct sk_buff *skb, | ||
533 | const char *proto); | ||
534 | void tcp_push_one(struct sock *, unsigned int mss_now); | 532 | void tcp_push_one(struct sock *, unsigned int mss_now); |
535 | void tcp_send_ack(struct sock *sk); | 533 | void tcp_send_ack(struct sock *sk); |
536 | void tcp_send_delayed_ack(struct sock *sk); | 534 | void tcp_send_delayed_ack(struct sock *sk); |