Message ID | 20240124081855.115410-15-saeed@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | aef855df7e1bbd5aa4484851561211500b22707e |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,01/14] net/mlx5e: Use the correct lag ports number when creating TISes | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c b/drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c index e1283531e0b8..671adbad0a40 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c @@ -436,6 +436,7 @@ static int fs_any_create_groups(struct mlx5e_flow_table *ft) in = kvzalloc(inlen, GFP_KERNEL); if (!in || !ft->g) { kfree(ft->g); + ft->g = NULL; kvfree(in); return -ENOMEM; }