PERFORCE change 178384 for review

Marko Zec zec at FreeBSD.org
Mon May 17 10:41:22 UTC 2010


http://p4web.freebsd.org/@@178384?ac=10

Change 178384 by zec at zec_nxlab on 2010/05/17 10:40:26

	By looking at the original ip_mroute_modevent(), it seems that
	X_ip_mrouter_done() should be called in from vnet_mroute_uninit()
	just in case, even as it should be already automatically invoked
	at the time V_ip_mroute socket gets closed.
	
	NB vnet_mroute_uninit() can never be invoked until V_ip_mroute
	is closed, so this seems redundant to me, but we keep it to
	remain 100% compatible with nooptions VIMAGE builds.

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/ip_mroute.c#36 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet/ip_mroute.c#36 (text+ko) ====

@@ -2837,6 +2837,7 @@
 vnet_mroute_uninit(const void *unused __unused)
 {
 
+	X_ip_mrouter_done();
 	FREE(V_nexpire, M_MRTABLE);
 	V_nexpire = NULL;
 }


More information about the p4-projects mailing list