https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209428

--- Comment #16 from commit-h...@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: no...@freebsd.org
  MFC after:    1 week

Changes:
  head/sys/dev/virtio/network/if_vtnet.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to