tcp: tcp_syn_flood_action() can be static
After commit 1fb6f159fd
("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>
This commit is contained in:
parent
1fb7cd4ef0
commit
41d25fe092
3 changed files with 29 additions and 31 deletions
|
@ -529,8 +529,6 @@ int tcp_write_wakeup(struct sock *);
|
|||
void tcp_send_fin(struct sock *sk);
|
||||
void tcp_send_active_reset(struct sock *sk, gfp_t priority);
|
||||
int tcp_send_synack(struct sock *);
|
||||
bool tcp_syn_flood_action(struct sock *sk, const struct sk_buff *skb,
|
||||
const char *proto);
|
||||
void tcp_push_one(struct sock *, unsigned int mss_now);
|
||||
void tcp_send_ack(struct sock *sk);
|
||||
void tcp_send_delayed_ack(struct sock *sk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue