mlx5e tls: use non-sleeping malloc flag is it was intended

Reviewed by:	gallatin
Fixes:		81b38bce07
This commit is contained in:
Gleb Smirnoff 2024-11-25 10:45:09 -08:00
parent 8585680682
commit 67f9307907

View File

@ -409,7 +409,7 @@ mlx5e_tls_snd_tag_alloc(if_t ifp, union if_snd_tag_alloc_params *params,
if (priv->gone != 0 || priv->tls.init == 0)
return (EOPNOTSUPP);
ptag = uma_zalloc(priv->tls.zone, M_WAITOK);
ptag = uma_zalloc(priv->tls.zone, M_NOWAIT);
if (ptag == NULL)
return (ENOMEM);