]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enforce the limit on ICMP messages before doing work to formulate the
authorJonathan T. Looney <jtl@FreeBSD.org>
Tue, 30 May 2017 14:32:44 +0000 (14:32 +0000)
committerJonathan T. Looney <jtl@FreeBSD.org>
Tue, 30 May 2017 14:32:44 +0000 (14:32 +0000)
commit382a6bbcf1ac37ba61723f59f8d16e465cc31bd5
tree515d0e887297a5c4f879fedd5d2f8b3311f74a96
parentcae91bbe96be5a42a7dfe5b003b4d79e9d41b0fd
Enforce the limit on ICMP messages before doing work to formulate the
response.

Delete an unneeded rate limit for UDP under IPv6. Because ICMP6
messages have their own rate limit, it is unnecessary to apply a
second rate limit to UDP messages.

Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D10387
sys/netinet/ip_icmp.c
sys/netinet6/udp6_usrreq.c