diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-02 12:50:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 10:38:25 -0800 |
commit | 738678817573ce45698e1bb13222f2e53622c555 (patch) | |
tree | d86465899c375adbcbb5b6b869df584c1944cdc3 /drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | |
parent | 3b1903ef97c080a80ead3a6a2305f55108e08269 (diff) | |
download | linux-stable-738678817573ce45698e1bb13222f2e53622c555.tar.gz linux-stable-738678817573ce45698e1bb13222f2e53622c555.tar.bz2 linux-stable-738678817573ce45698e1bb13222f2e53622c555.zip |
drivers: net: use flow action infrastructure
This patch updates drivers to use the new flow action infrastructure.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c index a69e3462b65e..2649d128a57c 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c @@ -588,7 +588,7 @@ int mlxsw_sp_acl_rulei_act_vlan(struct mlxsw_sp *mlxsw_sp, { u8 ethertype; - if (action == TCA_VLAN_ACT_MODIFY) { + if (action == FLOW_ACTION_VLAN_MANGLE) { switch (proto) { case ETH_P_8021Q: ethertype = 0; |