Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2009 03:26:52 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 161813 for review
Message-ID:  <200905090326.n493QqFO070881@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=161813

Change 161813 by zec@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);
 }


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905090326.n493QqFO070881>