freebsd-src/sys/dev/netmap
Vincenzo Maffione 09a1893398 netmap: fix refcount bug in netmap allocator
Symptom: when a single extmem memory region is provided to netmap
multiple times, for multiple interfaces, the memory region is
never released by netmap once all the existing file descriptors
are closed.

Fix the relevant condition in netmap_mem_drop(): release the memory
when the last user of netmap_adapter is gone, rather then when
the last user of netmap_mem_d is gone.

MFC after:	2 weeks
2022-03-06 16:39:16 +00:00
..
if_ptnet.c
if_re_netmap.h
if_vtnet_netmap.h netmap: vtnet: remove unused variable 2021-04-09 19:33:41 +00:00
netmap.c netmap: fix refcount bug in netmap allocator 2022-03-06 16:39:16 +00:00
netmap_bdg.c netmap: several typo fixes 2021-04-02 07:01:20 +00:00
netmap_bdg.h netmap: add kernel support for the "offsets" feature 2021-03-29 16:29:01 +00:00
netmap_freebsd.c netmap: several typo fixes 2021-04-02 07:01:20 +00:00
netmap_generic.c netmap: several typo fixes 2021-04-02 07:01:20 +00:00
netmap_kern.h netmap: import changes from upstream 2021-08-22 09:31:05 +00:00
netmap_kloop.c netmap: several typo fixes 2021-04-02 07:01:20 +00:00
netmap_legacy.c
netmap_mbq.c
netmap_mbq.h
netmap_mem2.c netmap: fix refcount bug in netmap allocator 2022-03-06 16:39:16 +00:00
netmap_mem2.h netmap: several typo fixes 2021-04-02 07:01:20 +00:00
netmap_monitor.c netmap: monitor: support offsets in copy mode 2021-09-26 13:52:16 +00:00
netmap_null.c netmap: add kernel support for the "offsets" feature 2021-03-29 16:29:01 +00:00
netmap_offloadings.c
netmap_pipe.c netmap: add kernel support for the "offsets" feature 2021-03-29 16:29:01 +00:00
netmap_vale.c netmap: several typo fixes 2021-04-02 07:01:20 +00:00