From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8t3F-0000Xw-Eo for qemu-devel@nongnu.org; Wed, 07 Jan 2015 11:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8t3D-0004BH-UH for qemu-devel@nongnu.org; Wed, 07 Jan 2015 11:01:41 -0500 Date: Wed, 7 Jan 2015 16:01:24 +0000 From: Stefan Hajnoczi Message-ID: <20150107160124.GO22440@stefanha-thinkpad.redhat.com> References: <54909D02.2030404@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gqEssfNGWsEa4HfM" Content-Disposition: inline In-Reply-To: <54909D02.2030404@gmail.com> Subject: Re: [Qemu-devel] [PATCH] hw/net/xen_nic.c: Set 'netdev->mac' to NULL after free it List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chen Gang Cc: QEMU Trivial , qemu-devel --gqEssfNGWsEa4HfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 17, 2014 at 04:58:42AM +0800, Chen Gang wrote: > Since net_init() checks whether 'netdev->mac' is NULL, before alloc it; > net_release() also need set 'netdev->mac' to NULL after free it. >=20 > Signed-off-by: Chen Gang > --- > hw/net/xen_nic.c | 1 + > 1 file changed, 1 insertion(+) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan --gqEssfNGWsEa4HfM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUrVhUAAoJEJykq7OBq3PIKIoIAMcP0x+076oqOM1VnEKlFwok UHAmycfPTficb2UiEKjFnf+dGDXvunNBwwC8oVH5+wA/WVAErSaqP4WsQnjTdo/f SefWeQVYWQkhqAG4zj5TYSOwsgq1Zz49Eyqyp7Ka6VeiJR92vrBId6NKK5zZnEmW CIkfLQgFCXp0d1wdi/8KSHPpO2/mSGyOOLbq5wayWdNWSFSTvaK2OnYApZwnaL14 P62BG0/r8HmJSUtL1hIzWpNd6X6XsWISOtzsCAoXKAO65DYnAeVJM6KueElz9Nuo uvw+4Psm2aqb7/mhbPZ6g1ES46uv0W3A3dKilJdjfOhtWaiR9ayIy2g3sBN7cBY= =mtmQ -----END PGP SIGNATURE----- --gqEssfNGWsEa4HfM--