[Bug 259458] iflib_rxeof NULL pointer crash with vmxnet3 driver

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Oct 2021 15:55:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259458

--- Comment #10 from Andriy Gapon <avg@FreeBSD.org> ---
(In reply to Mark Johnston from comment #8)
Not seeing any fails in either the mbuf or cluster zone:

(kgdb) p *$2.ifl_zone
$81 = {uz_lockptr = 0xfffff800029c70e0, uz_name = 0xffffffff80ab810f
"mbuf_cluster", uz_domain = 0xfffff800029c6580, uz_flags = 264, uz_size = 2048,
uz_ctor = 0xffffffff80721440 <mb_ctor_clust>, uz_dtor = 0x0, uz_init = 0x0, 
  uz_fini = 0x0, uz_import = 0xffffffff80981940 <zone_import>, uz_release =
0xffffffff8097dbc0 <zone_release>, uz_arg = 0xfffff800029c6000, uz_slab =
0xffffffff809818a0 <zone_fetch_slab>, uz_count = 12, uz_count_min = 5, 
  uz_link = {le_next = 0x0, le_prev = 0xfffff800029c7110}, uz_kegs = {lh_first
= 0xfffff800029c60a0}, uz_lock = {lock_object = {lo_name = 0xffffffff80ab810f
"mbuf_cluster", lo_flags = 21168128, lo_data = 0, lo_witness = 0x0}, 
    mtx_lock = 0}, uz_klink = {kl_link = {le_next = 0x0, le_prev =
0xfffff800029c6078}, kl_keg = 0xfffff800029c70e0}, uz_warning =
0xffffffff80abda84 "kern.ipc.nmbclusters limit reached", uz_ratecheck = {tv_sec
= 0, 
    tv_usec = 0}, uz_maxaction = {ta_link = {stqe_next = 0x0}, ta_pending = 0,
ta_priority = 0, ta_func = 0xffffffff807213f0 <mb_reclaim>, ta_context =
0xfffff800029c6000}, uz_allocs = 0, uz_fails = 0, uz_frees = 0, 
  uz_sleeps = 0, uz_cpu = 0xfffff800029c6180}

(kgdb) p *zone_mbuf
$82 = {uz_lockptr = 0xfffff800029c7000, uz_name = 0xffffffff80a8de52 "mbuf",
uz_domain = 0xfffff800028e6b40, uz_flags = 0, uz_size = 256, uz_ctor =
0xffffffff80721320 <mb_ctor_mbuf>, uz_dtor = 0xffffffff807213d0 <mb_dtor_mbuf>, 
  uz_init = 0x0, uz_fini = 0x0, uz_import = 0xffffffff80981940 <zone_import>,
uz_release = 0xffffffff8097dbc0 <zone_release>, uz_arg = 0xfffff800028e65c0,
uz_slab = 0xffffffff809818a0 <zone_fetch_slab>, uz_count = 253, 
  uz_count_min = 253, uz_link = {le_next = 0xfffff800029c65c0, le_prev =
0xfffff800029c7030}, uz_kegs = {lh_first = 0xfffff800028e6660}, uz_lock =
{lock_object = {lo_name = 0xffffffff80a8de52 "mbuf", lo_flags = 21168128, 
      lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, uz_klink = {kl_link =
{le_next = 0x0, le_prev = 0xfffff800028e6638}, kl_keg = 0xfffff800029c7000},
uz_warning = 0xffffffff80acfe1a "kern.ipc.nmbufs limit reached", 
  uz_ratecheck = {tv_sec = 0, tv_usec = 0}, uz_maxaction = {ta_link =
{stqe_next = 0x0}, ta_pending = 0, ta_priority = 0, ta_func =
0xffffffff807213f0 <mb_reclaim>, ta_context = 0xfffff800028e65c0}, uz_allocs =
0, uz_fails = 0, 
  uz_frees = 0, uz_sleeps = 0, uz_cpu = 0xfffff800028e6740}

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