diff options
| author | Toshiaki Makita <[email protected]> | 2015-01-29 11:37:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-31 02:03:47 +0000 |
| commit | 72b1405964c19b99ad9f75340249b16305cf31ab (patch) | |
| tree | f997b04b382f923275d7d8ed35b9c4e038092b8e /drivers/net/xen-netback/interface.c | |
| parent | net: Fix vlan_get_protocol for stacked vlan (diff) | |
| download | kernel-72b1405964c19b99ad9f75340249b16305cf31ab.tar.gz kernel-72b1405964c19b99ad9f75340249b16305cf31ab.zip | |
igbvf: Fix checksum error when using stacked vlan
When a skb has multiple vlans and it is CHECKSUM_PARTIAL,
igbvf_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 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
