HomeFreeBSD

if_tuntap: Enable MEXTPG support

Description

if_tuntap: Enable MEXTPG support

Fix tunread() to use m_mbuftouio() instead of manually copying (which
doesn't work for unmapped mbufs).

Reviewed by: jhb, gallatin
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D47295

(cherry picked from commit 01c738cd5c3938374cce8293c82753d977966154)

Details

Provenance
markjAuthored on Mon, Oct 28, 1:52 PM
Reviewer
jhb
Differential Revision
D47295: tuntap: Enable MEXTPG support
Parents
rG01a3c17d18ba: if_bridge: Mask MEXTPG if some members don't support it
Branches
Unknown
Tags
Unknown