Unverified Commit ae08f272 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1767 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves

parents b855db9e 06bfab88
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4452,7 +4452,9 @@ void bond_setup(struct net_device *bond_dev)

	bond_dev->hw_features = BOND_VLAN_FEATURES |
				NETIF_F_HW_VLAN_CTAG_RX |
				NETIF_F_HW_VLAN_CTAG_FILTER;
				NETIF_F_HW_VLAN_CTAG_FILTER |
				NETIF_F_HW_VLAN_STAG_RX |
				NETIF_F_HW_VLAN_STAG_FILTER;

	bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL | NETIF_F_GSO_UDP_L4;
	bond_dev->features |= bond_dev->hw_features;