[Bug 254596] if_bridge wants LRO turned off, if_vlan insists it remain on

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Aug 2023 16:40:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254596

--- Comment #16 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b1a39c31a3569bd045a0f40057c3773fc8166f6d

commit b1a39c31a3569bd045a0f40057c3773fc8166f6d
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2023-08-12 16:31:22 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-08-12 16:39:23 +0000

    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>
    MFC after:      1 week

 sys/net/if_vlan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.