HomeFreeBSD

MFC r349581

Description

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@itglobal.com
Reviewed by: vmaffione
Differential Revision: https://reviews.freebsd.org/D20824

Details

Provenance
vmaffioneAuthored on
Reviewer
vmaffione
Differential Revision
D20824: Fix netmap + vlan panics
Parents
rS350009: MFC r349581
Branches
Unknown
Tags
Unknown