diff options
| author | David S. Miller <davem@davemloft.net> | 2022-07-06 12:44:39 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-07-06 12:44:39 +0100 |
| commit | 44d632d5dde2514b414bd6344918d68dacd8fe6f (patch) | |
| tree | 01fa9fc940185a231a27369ef54ea437bff3d4d0 /net | |
| parent | e6fa930f73a15238f3cb0c204e2f786c919b815c (diff) | |
| parent | 4d1e07d83ccc87f210e5b852b0a5ea812a2f191c (diff) | |
| download | cachepc-linux-44d632d5dde2514b414bd6344918d68dacd8fe6f.tar.gz cachepc-linux-44d632d5dde2514b414bd6344918d68dacd8fe6f.zip | |
Merge branch 'act_police-continue-offload-fix'
Vlad Buslov says:
====================
net: Fix police 'continue' action offload
TC act_police with 'continue' action had been supported by mlx5 matchall
classifier offload implementation for some time. However, 'continue' was
assumed implicitly and recently got broken in multiple places. Fix it in
both TC hardware offload validation code and mlx5 driver.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
| -rw-r--r-- | net/sched/act_police.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 79c8901f66ab..b759628a47c2 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c @@ -442,7 +442,7 @@ static int tcf_police_act_to_flow_act(int tc_act, u32 *extval, act_id = FLOW_ACTION_JUMP; *extval = tc_act & TC_ACT_EXT_VAL_MASK; } else if (tc_act == TC_ACT_UNSPEC) { - NL_SET_ERR_MSG_MOD(extack, "Offload not supported when conform/exceed action is \"continue\""); + act_id = FLOW_ACTION_CONTINUE; } else { NL_SET_ERR_MSG_MOD(extack, "Unsupported conform/exceed action offload"); } |
