diff options
author | 2015-01-29 20:37:10 +0900 | |
---|---|---|
committer | 2015-01-30 18:03:47 -0800 | |
commit | 10e4fb333c9ad72491f80bed018f8007e17060d1 (patch) | |
tree | 90e90c74520964e5beedbb35b3cb304f3f5005eb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ixgbe: Fix checksum error when using stacked vlan (diff) | |
download | linux-dev-10e4fb333c9ad72491f80bed018f8007e17060d1.tar.xz linux-dev-10e4fb333c9ad72491f80bed018f8007e17060d1.zip |
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 <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions