diff options
author | Paul Blakey <paulb@mellanox.com> | 2018-06-05 10:04:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-05 16:29:58 +0200 |
commit | d96a43c66464cdf0b249fdf47b6dcd65b83af8c0 (patch) | |
tree | dedabc30a64e17f27a66dd7b58450a72022c9fa6 /net/dccp | |
parent | sctp: not allow transport timeout value less than HZ/5 for hb_timer (diff) | |
download | linux-d96a43c66464cdf0b249fdf47b6dcd65b83af8c0.tar.xz linux-d96a43c66464cdf0b249fdf47b6dcd65b83af8c0.zip |
net: sched: cls: Fix offloading when ingress dev is vxlan
When using a vxlan device as the ingress dev, we count it as a
"no offload dev", so when such a rule comes and err stop is true,
we fail early and don't try the egdev route which can offload it
through the egress device.
Fix that by not calling the block offload if one of the devices
attached to it is not offload capable, but make sure egress on such case
is capable instead.
Fixes: caa7260156eb ("net: sched: keep track of offloaded filters [..]")
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions