mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
qlge: remove NETIF_F_TSO6 flag
It is werid that qlge driver supports NETIF_F_TSO6 but not NETIF_F_IPV6_CSUM. This also causes some kernel warning [1] when VLAN device setups on a qlge interface. I think the qlge hardware doesn't support NETIF_F_IPV6_CSUM, so we have to just remove the NETIF_F_TSO6 flag. After this patch, the TCP/IPv6 traffic becomes normal again, no kernel warnings any more. NOTE: I only tested it on 2.6.32 kernel, even if the upstream kernel could fix this automatically (it is hard to track NETIF* flags), removing it is also safe. 1. https://bugzilla.redhat.com/show_bug.cgi?id=891839 Cc: Jitendra Kalsaria <[email protected]> Cc: Ron Mercer <[email protected]> Cc: [email protected] Cc: David S. Miller <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Jitendra Kalsaria <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7b514a886b
commit
f7e9e230f4
1 changed files with 1 additions and 1 deletions
|
|
@ -4678,7 +4678,7 @@ static int qlge_probe(struct pci_dev *pdev,
|
|||
qdev = netdev_priv(ndev);
|
||||
SET_NETDEV_DEV(ndev, &pdev->dev);
|
||||
ndev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM |
|
||||
NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN |
|
||||
NETIF_F_TSO | NETIF_F_TSO_ECN |
|
||||
NETIF_F_HW_VLAN_TX | NETIF_F_RXCSUM;
|
||||
ndev->features = ndev->hw_features |
|
||||
NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
|
||||
|
|
|
|||
Loading…
Reference in a new issue