diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-11-10 09:07:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-10 15:43:20 +0100 |
commit | c7ebe23cee350fb187ee00ff445b01e11de0bfe9 (patch) | |
tree | 33d0b193665c311d56bd68e3cfd090180799a1a1 /net/smc/af_smc.c | |
parent | gve: fix unmatched u64_stats_update_end() (diff) | |
download | linux-c7ebe23cee350fb187ee00ff445b01e11de0bfe9.tar.xz linux-c7ebe23cee350fb187ee00ff445b01e11de0bfe9.zip |
net/mlx5: Lag, fix a potential Oops with mlx5_lag_create_definer()
There is a minus character missing from ERR_PTR(ENOMEM) so if this
allocation fails it will lead to an Oops in the caller.
Fixes: dc48516ec7d3 ("net/mlx5: Lag, add support to create definers for LAG")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/af_smc.c')
0 files changed, 0 insertions, 0 deletions