diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-04-06 18:36:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-08 04:32:08 +0300 |
commit | a080da6ac7fa13282f1be8705cc67ceacd999ac3 (patch) | |
tree | 56dbda2d4d9d88cce8a814dd16da93a62ddfa620 /drivers/net/phy/mdio_bus.c | |
parent | a4837980fd9fa4c70a821d11831698901baef56b (diff) | |
download | linux-a080da6ac7fa13282f1be8705cc67ceacd999ac3.tar.xz |
net: sched: Fix setting last executed chain on skb extension
After driver sets the missed chain on the tc skb extension it is
consumed (deleted) by tc_classify_ingress and tc jumps to that chain.
If tc now misses on this chain (either no match, or no goto action),
then last executed chain remains 0, and the skb extension is not re-added,
and the next datapath (ovs) will start from 0.
Fix that by setting last executed chain to the chain read from the skb
extension, so if there is a miss, we set it back.
Fixes: af699626ee26 ("net: sched: Support specifying a starting chain via tc skb ext")
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
0 files changed, 0 insertions, 0 deletions