[Bug 258923] [mlx4en] Wrong mbuf cluster size in mlx4_en_debugnet_init leads to panic

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 12:18:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258923

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8d804809630fd145683de92ba502a9ed34b94115

commit 8d804809630fd145683de92ba502a9ed34b94115
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-10-05 08:46:56 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-10-12 12:17:02 +0000

    mlx4en(4): Fix wrong mbuf cluster size in mlx4_en_debugnet_init()

    This fixes an "invalid cluster size" panic when debugnet is activated.

    panic()
    m_getzone()
    debugnet_mbuf_reinit()
    debugnet_any_ifnet_update()
    ifhwioctl()
    ifioctl()

    Submitted by:   ae@
    PR:             258923
    Sponsored by:   NVIDIA Networking

    (cherry picked from commit 5a7de2b42caf6241e87b417a0521e9ab303989d7)

 sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.