Date: Mon, 03 Feb 1997 18:22:13 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: Brian Somers <brian@freefall.freebsd.org> Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: cvs commit: src/sys/netinet ip_divert.c ip_input.c ip_output.c Message-ID: <199702030922.SAA04701@zodiac.mech.utsunomiya-u.ac.jp> In-Reply-To: Your message of "Sun, 02 Feb 1997 08:33:14 PST." <199702021633.IAA24390@freefall.freebsd.org> References: <199702021633.IAA24390@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>brian 97/02/02 08:33:14 > > Modified: sys/netinet ip_divert.c ip_input.c ip_output.c > Log: > Reset ip_divert_ignore to zero immediately after use - also, > set it in the first place, independent of whether sin->sin_port > is set. `ip_divert_ignore' is reset outside #ifdef IPDIVERT in `ip_input.c', causing kernel compilation fail if the option IPDIVERT is not specified. Kazu PS: I found this not in the -current, but in RELENG_2_2, which now has the same code... > The result is that diverted packets that are being forwarded > will be diverted once and only once on the way in (ip_input()) > and again, once and only once on the way out (ip_output()) - > twice in total. ICMP packets that don't contain a port will > now also be diverted. > > Revision Changes Path > 1.4 +1 -2 src/sys/netinet/ip_divert.c > 1.56 +1 -0 src/sys/netinet/ip_input.c > 1.48 +1 -0 src/sys/netinet/ip_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702030922.SAA04701>