mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 07:14:14 -05:00
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 |
||
|---|---|---|
| .. | ||
| balloon | ||
| block | ||
| console | ||
| mmio | ||
| network | ||
| pci | ||
| random | ||
| scsi | ||
| virtio.c | ||
| virtio.h | ||
| virtio_bus_if.m | ||
| virtio_config.h | ||
| virtio_ids.h | ||
| virtio_if.m | ||
| virtio_ring.h | ||
| virtqueue.c | ||
| virtqueue.h | ||