From: Toshiaki Makita Date: Thu, 29 Jan 2015 11:37:08 +0000 (+0900) Subject: igbvf: Fix checksum error when using stacked vlan X-Git-Tag: fixes-v4.0-rc1~200^2~26^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72b1405964c19b99ad9f75340249b16305cf31ab;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed