Skip to content
Commit 5c1e6883 authored by Kasper Pedersen's avatar Kasper Pedersen Committed by David S. Miller
Browse files

tg3: fix VLAN tagging regression



commit 92cd3a17
    tg3: Simplify tx bd assignments

broke VLAN tagging on outbound packets.
It ifdef'ed BCM_KERNEL_SUPPORTS_8021Q, but this
is not set anywhere. So vlan never gets set, and
all packets are sent with vlan=0.

v2: We can just remove the test. vlan_tx_tag_present
is valid regardless of whether the 802.1q module
is built.

Tested on BCM5721 rev 11.

Signed-off-by: default avatarKasper Pedersen <kernel@kasperkp.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b7e43381
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment