diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-03-29 13:09:45 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-29 13:37:25 -0700 |
| commit | b24303048a6b23d27c4c12b9843265c0eef80ffd (patch) | |
| tree | 436f2c79696f4317ea87d4a3a0caff2155ed41cc /lib/test_bits.c | |
| parent | 50401f292434d5fb99f3f0c9b861f8a84c151ecc (diff) | |
mlxsw: spectrum_matchall: Perform priority checks earlier
Perform the priority check earlier in the function instead of repeating
it for every action. This fixes a bug that allowed matchall rules with
sample action to be added in front of flower rules on egress.
Fixes: 54d0e963f683 ("mlxsw: spectrum_matchall: Add support for egress sampling")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions
