PERFORCE change 161813 for review
Marko Zec
zec at FreeBSD.org
Sat May 9 03:26:53 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=161813
Change 161813 by zec at zec_tpx32 on 2009/05/09 03:25:57
Clear ifp->if_afdata_initialized when detaching an ifnet, so
that we can properly reattach that same ifnet to another
vnet.
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/net/if.c#56 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/net/if.c#56 (text+ko) ====
@@ -1002,6 +1002,7 @@
ifq_detach(&ifp->if_snd);
#ifdef VIMAGE
ifp->if_vnet = NULL;
+ ifp->if_afdata_initialized = 0;
#endif
splx(s);
}
More information about the p4-projects
mailing list