diff options
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,  	if (!queue->synflood_warned &&  	    net->ipv4.sysctl_tcp_syncookies != 2 &&  	    xchg(&queue->synflood_warned, 1) == 0) -		pr_info("%s: Possible SYN flooding on port %d. %s.  Check SNMP counters.\n", -			proto, ntohs(tcp_hdr(skb)->dest), msg); +		net_info_ratelimited("%s: Possible SYN flooding on port %d. %s.  Check SNMP counters.\n", +				     proto, ntohs(tcp_hdr(skb)->dest), msg);  	return want_cookie;  }  | 
