]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: assign vregion->region by the newly created region
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:20 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:10 +0000 (21:44 -0800)
commit0c13bf44fc63f233beb8b4c83da3d51f23156c1e
treefaa33d42225bdebfcb6139139ed7b6fcf9e784f9
parent239e7c86cff58be421702fd5a788129163e7aecc
mlxsw: spectrum_acl: assign vregion->region by the newly created region

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

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