Pawel Jakub Dawidek wrote:
On Fri, Sep 18, 2009 at 12:59:49AM +0000, Bjoern A. Zeeb wrote:
On Thu, 17 Sep 2009, Pawel Jakub Dawidek wrote:

On Thu, Sep 17, 2009 at 02:52:15PM +0000, Marko Zec wrote:
Author: zec
Date: Thu Sep 17 14:52:15 2009
New Revision: 197286
URL: http://svn.freebsd.org/changeset/base/197286

Log:
 V_irtualize the lltables list, making ARP and ND reasonably
 usable again with options VIMAGE kernels.

Submitted by: bz (the original version, probably identical to this one)
Uncommitted for the reason to not interfere with bugfixing for 8.0-R.

 Reviewed by:   many @ DevSummit Cambridge
 MFC after:     3 days
[...]
+static void
+vnet_lltable_init()
+{
+
+       SLIST_INIT(&V_lltables);
+}
+VNET_SYSINIT(vnet_lltable_init, SI_SUB_PSEUDO, SI_ORDER_FIRST, vnet_lltable_init, NULL);
ANy I didn'thave this style bug;)

There is nothing we want to do when vnet is going away?
No things will clear itself up via other ways as the interfaces will
go away the table will empty itself, etc

So I guess it won't hurt to assert on uninit that the list is really
empty?:)



not a bad idea..  is there already an UNINIT? it may be the only user.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to