HomeFreeBSD

if_bridge: Mask MEXTPG if some members don't support it

Description

if_bridge: Mask MEXTPG if some members don't support it

Similar to how the network stack needs to use mb_unmapped_to_ext() to
convert mbufs before passing them to an unsupported driver, if_bridge
needs to avoid passing M_EXTPG mbufs to interfaces that don't support
them. Thus, clear IFCAP_MEXTPG on the bridge if any member interfaces
don't handle unmapped mbufs.

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

Details

Provenance
markjAuthored on Mon, Oct 28, 1:52 PM
Reviewer
jhb
Differential Revision
D47294: if_bridge: Mask MEXTPG if some members don't support it
Parents
rG878ede1a0d0f: fstyp: Fix some memory safety bugs
Branches
Unknown
Tags
Unknown