diff options
author | David S. Miller <davem@davemloft.net> | 2018-09-13 01:22:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-13 01:22:42 -0400 |
commit | aaf9253025e80cf8f62d7b33670e84e838eec5a3 (patch) | |
tree | f13b307c8407cc05ff803c4d7f6a0967d85ce3ec /net/ipv4/tcp_input.c | |
parent | a20625e49ddefc250c221478fb0dc62ea27722a6 (diff) | |
parent | 7428b2e5d0b195f2a5e40f91d2b41a8503fcfe68 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 62508a2f9b21..d9034073138c 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -6380,8 +6380,8 @@ static bool tcp_syn_flood_action(const struct sock *sk, | |||
6380 | if (!queue->synflood_warned && | 6380 | if (!queue->synflood_warned && |
6381 | net->ipv4.sysctl_tcp_syncookies != 2 && | 6381 | net->ipv4.sysctl_tcp_syncookies != 2 && |
6382 | xchg(&queue->synflood_warned, 1) == 0) | 6382 | xchg(&queue->synflood_warned, 1) == 0) |
6383 | pr_info("%s: Possible SYN flooding on port %d. %s. Check SNMP counters.\n", | 6383 | net_info_ratelimited("%s: Possible SYN flooding on port %d. %s. Check SNMP counters.\n", |
6384 | proto, ntohs(tcp_hdr(skb)->dest), msg); | 6384 | proto, ntohs(tcp_hdr(skb)->dest), msg); |
6385 | 6385 | ||
6386 | return want_cookie; | 6386 | return want_cookie; |
6387 | } | 6387 | } |