|
@@ -6367,8 +6367,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;
|
|
|
}
|