mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
This commit is contained in:
parent
878ede1a0d
commit
2bbfbf80d3
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@
|
|||
* List of capabilities to possibly mask on the member interface.
|
||||
*/
|
||||
#define BRIDGE_IFCAPS_MASK (IFCAP_TOE|IFCAP_TSO|IFCAP_TXCSUM|\
|
||||
IFCAP_TXCSUM_IPV6)
|
||||
IFCAP_TXCSUM_IPV6|IFCAP_MEXTPG)
|
||||
|
||||
/*
|
||||
* List of capabilities to strip
|
||||
|
|
|
|||
Loading…
Reference in a new issue