commit | 09a9297574cb10b3d9fe722b2baa9a379b2d289c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 03 20:54:36 2020 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Jun 11 15:38:08 2020 -0700 |
tree | 5c97756927094a087738999ec8bab50be1d0103b | |
parent | 17e73d47cd095154878dfedd4918d6a9482eba13 [diff] |
net/mlx5: E-Switch, Fix some error pointer dereferences We can't leave "counter" set to an error pointer. Otherwise either it will lead to an error pointer dereference later in the function or it leads to an error pointer dereference when we call mlx5_fc_destroy(). Fixes: 07bab9502641d ("net/mlx5: E-Switch, Refactor eswitch ingress acl codes") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>