Date: Sun, 18 Feb 2001 01:34:55 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_icmp.c tcp_subr.c tcp_var.h src/sys/sys protosw.h Message-ID: <200102180934.f1I9YuX25482@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2001/02/18 01:34:55 PST
Modified files:
sys/netinet ip_icmp.c tcp_subr.c tcp_var.h
sys/sys protosw.h
Log:
Remove unneeded loop increment in src/sys/netinet/in_pcb.c:in_pcbnotify
Add new PRC_UNREACH_ADMIN_PROHIB in sys/sys/protosw.h
Remove condition on TCP in src/sys/netinet/ip_icmp.c:icmp_input
In src/sys/netinet/ip_icmp.c:icmp_input set code = PRC_UNREACH_ADMIN_PROHIB
or PRC_UNREACH_HOST for all unreachables except ICMP_UNREACH_NEEDFRAG
Rename sysctl icmp_admin_prohib_like_rst to icmp_unreach_like_rst
to reflect the fact that we also react on ICMP unreachables that
are not administrative prohibited. Also update the comments to
reflect this.
In sys/netinet/tcp_subr.c:tcp_ctlinput add code to treat
PRC_UNREACH_ADMIN_PROHIB and PRC_UNREACH_HOST different.
PR: 23986
Submitted by: Jesper Skriver <jesper@skriver.dk>
Revision Changes Path
1.52 +34 -16 src/sys/netinet/ip_icmp.c
1.88 +44 -13 src/sys/netinet/tcp_subr.c
1.64 +2 -1 src/sys/netinet/tcp_var.h
1.32 +4 -3 src/sys/sys/protosw.h
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?200102180934.f1I9YuX25482>
