]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: CT: Correctly get flow rule
authorRoi Dayan <roid@mellanox.com>
Mon, 18 May 2020 17:21:11 +0000 (20:21 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 23 May 2020 00:28:56 +0000 (17:28 -0700)
commit9ff682ee5aab17f3f7579207ecac326b7152d93b
tree3893e91ca16310f8f4e2ef6829781819bd8bd205
parent778c8ec719a3149c7463729d7426e28d16f90012
net/mlx5e: CT: Correctly get flow rule

The correct way is to us the flow_cls_offload_flow_rule() wrapper
instead of f->rule directly.

Fixes: 2989085705f6 ("net/mlx5e: CT: Introduce connection tracking")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h