git: 67f93079075b - main - mlx5e tls: use non-sleeping malloc flag is it was intended
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Nov 2024 18:46:34 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=67f93079075be4a2f5b7198fb3bda6d10bbd54e7 commit 67f93079075be4a2f5b7198fb3bda6d10bbd54e7 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-11-25 18:45:09 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-11-25 18:46:13 +0000 mlx5e tls: use non-sleeping malloc flag is it was intended Reviewed by: gallatin Fixes: 81b38bce07940b7a4001dfeb8cd63774229ca950 --- sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c index dce16f8df96d..0759cd84c307 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c @@ -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);