freebsd-skq/sys/dev/netmap
emaste 310fb71c7e Improve lock and unlock symmetry
- Move destruction of per-ring locks to netmap_dtor_locked to mirror the
initialization that happens in NIOCREGIF.  Otherwise unloading a netmap-
capable interface that was never put into netmap mode would try to
mtx_destroy an uninitialized mutex, and panic.

- Destroy core_lock in netmap_detach, mirroring init in netmap_attach.

- Also comment out the knlist_destroy for now as there is currently no
knlist_init.

Sponsored by:   ADARA Networks
Reviewed by:    luigi@
2012-08-09 14:46:52 +00:00
..
if_em_netmap.h fix some signed/unsigned warnings in the netmap code. 2012-08-02 11:59:43 +00:00
if_igb_netmap.h fix some signed/unsigned warnings in the netmap code. 2012-08-02 11:59:43 +00:00
if_lem_netmap.h A bunch of netmap fixes: 2012-02-27 19:05:01 +00:00
if_re_netmap.h do not use a deprecated field in a structure. 2012-04-13 15:33:12 +00:00
ixgbe_netmap.h fix some signed/unsigned warnings in the netmap code. 2012-08-02 11:59:43 +00:00
netmap_kern.h Clarify comments about number of tx / rx rings 2012-08-08 15:27:01 +00:00
netmap_mem1.c A bit of cleanup in the names of fields of netmap-related structures. 2012-04-13 16:03:07 +00:00
netmap_mem2.c - move the inclusion of netmap headers to the common part of the code; 2012-07-30 18:21:48 +00:00
netmap.c Improve lock and unlock symmetry 2012-08-09 14:46:52 +00:00