From: Toshiaki Makita Date: Thu, 29 Jan 2015 11:37:10 +0000 (+0900) Subject: ixgbevf: Fix checksum error when using stacked vlan X-Git-Tag: fixes-v4.0-rc1~200^2~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e4fb333c9ad72491f80bed018f8007e17060d1;p=pandora-kernel.git ixgbevf: Fix checksum error when using stacked vlan When a skb has multiple vlans and it is CHECKSUM_PARTIAL, ixgbevf_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 first->protocol instead of skb->protocol to get the proper network protocol. Signed-off-by: Toshiaki Makita Signed-off-by: David S. Miller --- Reading git-diff-tree failed