Date: Sat, 10 Feb 2001 23:39:51 -0800 (PST) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet icmp_var.h ip_icmp.c tcp_input.c udp_usrreq.c Message-ID: <200102110739.f1B7dq853165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bmilekic 2001/02/10 23:39:51 PST
Modified files:
sys/netinet icmp_var.h ip_icmp.c tcp_input.c
udp_usrreq.c
Log:
Clean up RST ratelimiting. Previously, ratelimiting occured before tests
were performed to determine if the received packet should be reset. This
created erroneous ratelimiting and false alarms in some cases. The code
has now been reorganized so that the checks for validity come before
the call to badport_bandlim. Additionally, a few changes in the symbolic
names of the bandlim types have been made, as well as a clarification of
exactly which type each RST case falls under.
Submitted by: Mike Silbersack <silby@silby.com>
Revision Changes Path
1.18 +8 -7 src/sys/netinet/icmp_var.h
1.51 +6 -6 src/sys/netinet/ip_icmp.c
1.123 +49 -34 src/sys/netinet/tcp_input.c
1.82 +2 -2 src/sys/netinet/udp_usrreq.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102110739.f1B7dq853165>
