Mask off the bits we don't care about when checking that capabilities of the member interfaces have been disabled as intended.
Sponsored by: iXsystems, Inc.
Differential D18924
bridge: Fix spurious warnings about capabilities freqlabs on Jan 22 2019, 7:28 PM. Authored by Tags None Referenced Files
Details
Mask off the bits we don't care about when checking that capabilities of the member interfaces have been disabled as intended. Sponsored by: iXsystems, Inc. I tested this change on 11.2 (with the patch from rS317586 applied), where RXCSUM and TXCSUM are linked together in e1000.
bridge is enabling TXCSUM to restore the greatest common denominator of capabilities when the tap is removed. In doing so, RXCSUM is also enabled. bridge erroneously checks that RXCSUM stays disabled. Masking the irrelevant bits out ensures only the relevant bits are checked.
Diff Detail
|