]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: spectrum_acl: assign vchunk->chunk by the newly created chunk
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:21 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:10 +0000 (21:44 -0800)
commite1d2f7a97261dc0e5bec44edb64fe5bcfb994971
tree3ecf137c903698870850165562cd9d3cb6f2ae50
parenta86838e46b1dc1f7ecc2eb769ea1966380409025
mlxsw: spectrum_acl: assign vchunk->chunk by the newly created chunk

Make the vchunk->chunk contain pointer of a new chunk we migrate to.
In case of a rollback, it contains the original chunk.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c