From: Eli Britstein <el...@mellanox.com>
Date: Tue, 26 Feb 2019 09:57:34 +0000

> The csum calculation is different for IPv4/6. For VLAN packets,
> tc_skb_protocol returns the VLAN protocol rather than the packet's one
> (e.g. IPv4/6), so csum is not calculated. Furthermore, VLAN may not be
> stripped so csum is not calculated in this case too. Calculate the
> csum for those cases.
> 
> Fixes: d8b9605d2697 ("net: sched: fix skb->protocol use in case of 
> accelerated vlan path")
> Signed-off-by: Eli Britstein <el...@mellanox.com>
> Signed-off-by: Jiri Pirko <j...@mellanox.com>

Applied.

Reply via email to