HomeFreeBSD

vlan: Respect IFCAP_LRO mask

Description

vlan: Respect IFCAP_LRO mask

vlan_capabilities(), used by the IFCAP ioctl, was not respecting the
IFCAP_LRO bit if it was masked by the requestor.

This prevented if_bridge(4) from automasking LRO with a message like:
bridge0: can't disable some capabilities on em3.11: 0x400

This also prevented manually disabling LRO from any vlan interface.

PR: 254596
Reported by: Paul Vixie <paul@redbarn.org>

(cherry picked from commit b1a39c31a3569bd045a0f40057c3773fc8166f6d)

Details

Provenance
Kevin Bowling <kbowling@FreeBSD.org>Authored on Aug 12 2023, 4:31 PM
Parents
rGb2d895f70ded: tcp: Handle <RST,ACK> in SYN-RCVD
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG50b52fe14b89: vlan: Respect IFCAP_LRO mask (authored by Kevin Bowling <kbowling@FreeBSD.org>).Aug 18 2023, 1:00 AM