From owner-cvs-all Sun Feb 18 1:35: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 45FD137B401; Sun, 18 Feb 2001 01:34:56 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1I9YuX25482; Sun, 18 Feb 2001 01:34:56 -0800 (PST) (envelope-from phk) Message-Id: <200102180934.f1I9YuX25482@freefall.freebsd.org> From: Poul-Henning Kamp Date: Sun, 18 Feb 2001 01:34:55 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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