diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-03-19 08:51:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-20 17:11:02 +0100 |
commit | 04719507b756e5eb38282c33162a9c89beb6f440 (patch) | |
tree | 2f901464678adac36e347da9dbce5dfb3b9dd766 /net/ipv4 | |
parent | mlxsw: spectrum_acl: Adapt ACL configuration to new firmware versions (diff) | |
download | linux-04719507b756e5eb38282c33162a9c89beb6f440.tar.xz linux-04719507b756e5eb38282c33162a9c89beb6f440.zip |
mlxsw: spectrum_acl: Do not invalidate already invalid ACL groups
When a new ACL group is created its region (ACL) list is initially
empty. Thus, the call to mlxsw_sp_acl_tcam_group_update() would
basically invalidate an already invalid (non-existent) group.
Remove the unnecessary call and make the function symmetric to its del()
counterpart.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions