On Sunday 28 October 2012 19:47:20 Adrian Chadd wrote:
> ping?
>
> Marko - would you be willing to add the if_free() vnet context setup into
> -HEAD?
Feel free to do it - though I'd suggest to use the CURVNET_SET_QUIET()
variant there, to reduce the console spam with VNET_DEBUG.
Marko
Index: if.c
===================================================================
--- if.c (revision 242304)
+++ if.c (working copy)
@@ -513,7 +513,9 @@
if (!refcount_release(&ifp->if_refcount))
return;
+ CURVNET_SET_QUIET(ifp->if_vnet);
if_free_internal(ifp);
+ CURVNET_RESTORE();
}
/*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"