Date: Sat, 14 May 2016 06:08:00 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209428] if_vtnet(4) panics when doing kldunload if_vtnet Message-ID: <bug-209428-27103-G1d7lnb3sJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209428-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-209428-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209428 --- Comment #16 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Sat May 14 06:07:15 UTC 2016 New revision: 299725 URL: https://svnweb.freebsd.org/changeset/base/299725 Log: vtnet: fix panic on unload Since r276367 added the virtio_mmio support vtnet_modevent() gets called twice. This resulted in a memory leak during load and a panic on unload. Count the loads so we only initialise once (just like cxgbe(4)), and only clean up in the final unload. PR: 209428 Submitted by: novel@FreeBSD.org MFC after: 1 week Changes: head/sys/dev/virtio/network/if_vtnet.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209428-27103-G1d7lnb3sJ>