diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-09-24 10:19:16 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-10-29 16:27:18 -0700 |
commit | 64d7b68577130ae00f954a28ea9d6bc51025caf9 (patch) | |
tree | 528ac455e79e5e94bb1b2f7b6fa14bbf8288e166 /drivers/net/ethernet/chelsio/cxgb4 | |
parent | 5dfb6335cbecbd59040275c8396c2d0af0bbd549 (diff) |
net/mlx5e: Only skip encap flows update when encap init failed
When encap entry initialization completes successfully e->compl_result is
set to positive value and not zero, like mlx5e_rep_update_flows() assumes
at the moment. Fix the conditional to only skip encap flows update when
e->compl_result < 0.
Fixes: 2a1f1768fa17 ("net/mlx5e: Refactor neigh update for concurrent execution")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4')
0 files changed, 0 insertions, 0 deletions