RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-26 Thread Li, Qing
Okay, this is good information. I will look into it now. Thanks, --Qing > -Original Message- > From: Ryan Stone [mailto:ryst...@gmail.com] > Sent: Thursday, April 26, 2012 7:03 AM > To: Li, Qing > Cc: freebsd-net > Subject: Re: Removing an IPv6 address does not rem

Re: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-26 Thread Ryan Stone
On Wed, Apr 25, 2012 at 3:59 AM, Li, Qing wrote: > The patch is located at > >   http://people.freebsd.org/~qingli/nd6_prefix.diff > > Please give it a try. I did only basic testing as of now and > will do more tomorrow. > > --Qing I tested this last night. Unfortunately this seems to be vulnera

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-25 Thread Li, Qing
alf Of Li, Qing > Sent: Tuesday, April 10, 2012 5:43 PM > To: Ryan Stone > Cc: freebsd-net > Subject: RE: Removing an IPv6 address does not remove NDP entries on > that subnet > > > > > [rstone@vm-head ~]ndp -a > > Neighbor Linkl

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-10 Thread Li, Qing
> > [rstone@vm-head ~]ndp -a > Neighbor Linklayer Address Netif ExpireS > Flags > 1::2 08:00:27:1e:b8:16em0 7sR > fe80::a00:27ff:fefa:8732%em0 08:00:27:fa:87:32em0 permanent R > rstone@vm-head ~]uname -a > Fre

Re: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-09 Thread Ryan Stone
On Mon, Apr 9, 2012 at 9:08 PM, Li, Qing wrote: > I have not followed this thread closely from the beginning, so let me confirm. > > Are you reporting multiple bugs: 1) ndp entries remain after the removal of > an address (according to the thread title), and 2) you believe there is a > race condi

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-09 Thread Li, Qing
-Qing From: Ryan Stone [ryst...@gmail.com] Sent: Monday, April 09, 2012 4:50 PM To: Li, Qing Cc: freebsd-net Subject: Re: Removing an IPv6 address does not remove NDP entries on that subnet On Mon, Apr 9, 2012 at 5:46 PM, Li, Qing wrote: > Could you plea

Re: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-09 Thread Ryan Stone
On Mon, Apr 9, 2012 at 5:46 PM, Li, Qing wrote: > Could you please share with me a call path that you believe is > problematic, or a simple test case that uncovers the issue ? I cannot because it is literally impossible for in6_lltable_prefix_free() to ever be called.

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-09 Thread Li, Qing
test case that uncovers the issue ? --Qing > -Original Message- > From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd- > n...@freebsd.org] On Behalf Of Li, Qing > Sent: Monday, April 02, 2012 10:54 AM > To: Ryan Stone > Cc: freebsd-net > Subject: RE: Removing

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-04-02 Thread Li, Qing
> > On Fri, Mar 30, 2012 at 12:28 AM, Li, Qing wrote: > >> * In a way this is a good thing as in6_lltable_prefix_free() is > >> guaranteed to crash your kernel in two different ways, and that's > not > >> counting the race conditions that it's subject to. > >> > > > >        Could you please elab

Re: Removing an IPv6 address does not remove NDP entries on that subnet

2012-03-30 Thread Ryan Stone
On Fri, Mar 30, 2012 at 12:28 AM, Li, Qing wrote: >> * In a way this is a good thing as in6_lltable_prefix_free() is >> guaranteed to crash your kernel in two different ways, and that's not >> counting the race conditions that it's subject to. >> > >        Could you please elaborate with some det

RE: Removing an IPv6 address does not remove NDP entries on that subnet

2012-03-29 Thread Li, Qing
> > Currently, if you remove an IPv4 address from an interface, all ARP > cache entries on its subnet are invalidated. However, the same thing > is not done for NDP cache entries when an IPv6 address is removed*. > Is this correct behaviour? It seems weird to have IPv4 and IPv6 > behave differen

Removing an IPv6 address does not remove NDP entries on that subnet

2012-03-29 Thread Ryan Stone
Currently, if you remove an IPv4 address from an interface, all ARP cache entries on its subnet are invalidated. However, the same thing is not done for NDP cache entries when an IPv6 address is removed*. Is this correct behaviour? It seems weird to have IPv4 and IPv6 behave differently. * In a