Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2012 22:02:02 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        "Li, Qing" <qing.li@bluecoat.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: Removing an IPv6 address does not remove NDP entries on that subnet
Message-ID:  <CAFMmRNw6io7Vn_8ifvLabs%2B1eW03jLBVE4=_CfztuABe6ZrbYg@mail.gmail.com>
In-Reply-To: <B143A8975061C446AD5E29742C531723C64E49@pwsvl-excmbx-05.internal.cacheflow.com>
References:  <CAFMmRNyK6RXb43kCRxZbZPSWmmGHYx-1cxsTgL1orVjoDcKYAg@mail.gmail.com> <B143A8975061C446AD5E29742C531723C4C6F8@pwsvl-excmbx-05.internal.cacheflow.com> <CAFMmRNxWUw4XmsNZZi%2BzVjZK6i-Ukisqyub2MsOY11Nb8T9ZCQ@mail.gmail.com> <B143A8975061C446AD5E29742C531723C510D6@pwsvl-excmbx-05.internal.cacheflow.com> <B143A8975061C446AD5E29742C531723C648D5@pwsvl-excmbx-05.internal.cacheflow.com> <CAFMmRNwBt3s4a2_zYN14FQ=tC6nRR2_F4hdfRRu_Gb8SWPLYrw@mail.gmail.com> <B143A8975061C446AD5E29742C531723C64E49@pwsvl-excmbx-05.internal.cacheflow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 9, 2012 at 9:08 PM, Li, Qing <qing.li@bluecoat.com> 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 condition
> around in6_lltable_prefix_free() but if it can never be called, so where is the race condition
> coming from ?

It's all well and good to say that the code can't crash now, but this
is a landmine that somebody's going to step on the first time that
they try to call this function.

> wrt 1), I cannot reproduce the issue, if it's a problem for you, please provide a description
> or just forward me the thread
[rstone@vm-head ~]ping6 -c 1 1::2
PING6(56=40+8+8 bytes) 1::1 --> 1::2
16 bytes from 1::2, icmp_seq=0 hlim=64 time=0.477 ms

--- 1::2 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.477/0.477/0.477/0.000 ms
[rstone@vm-head ~]ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
1::1                                 08:00:27:fa:87:32    em0 permanent R
1::2                                 08:00:27:1e:b8:16    em0 25s       R
fe80::a00:27ff:fefa:8732%em0         08:00:27:fa:87:32    em0 permanent R
[rstone@vm-head ~]sudo ifconfig em0 inet6 1::1/64 -alias
[rstone@vm-head ~]ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
1::2                                 08:00:27:1e:b8:16    em0 7s        R
fe80::a00:27ff:fefa:8732%em0         08:00:27:fa:87:32    em0 permanent R
[rstone@vm-head ~]uname -a
FreeBSD vm-head 10.0-CURRENT FreeBSD 10.0-CURRENT #10 r233549:233552M:
Wed Mar 28 10:27:20 EDT 2012
rstone@rstone-laptop:/home/rstone/freebsd/obj/usr/home/rstone/freebsd/head/sys/DTRACE
 amd64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNw6io7Vn_8ifvLabs%2B1eW03jLBVE4=_CfztuABe6ZrbYg>