aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-01-29 20:37:08 +0900
committerDavid S. Miller <davem@davemloft.net>2015-01-30 18:03:47 -0800
commit72b1405964c19b99ad9f75340249b16305cf31ab (patch)
treef997b04b382f923275d7d8ed35b9c4e038092b8e /init
parentnet: Fix vlan_get_protocol for stacked vlan (diff)
downloadlinux-dev-72b1405964c19b99ad9f75340249b16305cf31ab.tar.xz
linux-dev-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 <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions