Date: Fri, 30 Mar 2012 04:28:39 +0000 From: "Li, Qing" <qing.li@bluecoat.com> To: Ryan Stone <rysto32@gmail.com>, freebsd-net <freebsd-net@freebsd.org> Subject: RE: Removing an IPv6 address does not remove NDP entries on that subnet Message-ID: <B143A8975061C446AD5E29742C531723C4C6F8@pwsvl-excmbx-05.internal.cacheflow.com> In-Reply-To: <CAFMmRNyK6RXb43kCRxZbZPSWmmGHYx-1cxsTgL1orVjoDcKYAg@mail.gmail.com> References: <CAFMmRNyK6RXb43kCRxZbZPSWmmGHYx-1cxsTgL1orVjoDcKYAg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>=20 > 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. >=20 Yes, the behavior is different between IPv4 and IPv6 because=20 IPv6 manages prefixes and addresses separately. In IPv4 deleting=20 an address implies the prefix is also being deleted, that's not=20 the case with IPv6. >=20 > * 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 details on the two different ways in6_lltable_prefix_free() crashes the kernel definitively ? --Qing
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B143A8975061C446AD5E29742C531723C4C6F8>