diff options
author | Toshiaki Makita <[email protected]> | 2015-01-29 20:37:09 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-01-30 18:03:47 -0800 |
commit | 0213668f060ea966ee8f4e6334f0fd27b6a1c428 (patch) | |
tree | 0aacfd4991c9232e060645397c0f90eb9f15da54 /net/lapb | |
parent | 72b1405964c19b99ad9f75340249b16305cf31ab (diff) |
ixgbe: Fix checksum error when using stacked vlan
When a skb has multiple vlans and it is CHECKSUM_PARTIAL,
ixgbe_tx_csum() fails to get the network protocol and checksum related
descriptor fields are not configured correctly because skb->protocol
doesn't show the L3 protocol in this case.
Use vlan_get_protocol() to get the proper network protocol.
Signed-off-by: Toshiaki Makita <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions