Re: [PATCH] kern/120958: no response to ICMP traffic on interface configured with a link-local address

2008-03-21 Thread gnn
At Thu, 13 Mar 2008 20:58:25 -0400, James Snow wrote: [1 text/plain; us-ascii (7bit)] On Thu, Mar 13, 2008 at 08:40:07PM -0400, James Snow wrote: Also, I took a cue from the IN_LINKLOCAL() macro and added two new macros to sys/netinet/in.h to perform checks for the loopback network

[PATCH] kern/120958: no response to ICMP traffic on interface configured with a link-local address

2008-03-13 Thread James Snow
On Fri, Feb 22, 2008 at 10:04:12PM +, Bruce M. Simpson wrote: I looked at this very briefly. It's gnarly because in_canforward() is a candidate for inlining and is a predicate which is being overloaded with different meanings by ip_forward()/ip_input() and icmp_reflect(). So whilst

Re: [PATCH] kern/120958: no response to ICMP traffic on interface configured with a link-local address

2008-03-13 Thread James Snow
On Thu, Mar 13, 2008 at 08:40:07PM -0400, James Snow wrote: Also, I took a cue from the IN_LINKLOCAL() macro and added two new macros to sys/netinet/in.h to perform checks for the loopback network and the zero network. IN_LOOPBACK() and IN_ZERONET(), respectively. Woops. I suppose the