Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2024 18:46:34 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 67f93079075b - main - mlx5e tls: use non-sleeping malloc flag is it was intended
Message-ID:  <202411251846.4APIkYtI047821@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411251846.4APIkYtI047821>