FreeBSD/src 98e3c36 (r350010)sys/dev/netmap netmap_freebsd.c

MFC r349581

netmap: fix two panics with emulated adapter

This patch fixes 2 panics. The first one is due to the current VNET not
being set in the emulated adapter transmission path. The second one
is caused by the M_PKTHDR flag not being set when preallocated mbufs
are recycled in the transmit path.

Submitted by:   aleksandr.fedorov at itglobal.com
Reviewed by:    vmaffione
Differential Revision:  https://reviews.freebsd.org/D20824
DeltaFile
+3-0sys/dev/netmap/netmap_freebsd.c
+3-01 files

UnifiedSplitRaw