[Bug 211836] Kernel panic with net.isr enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 15 10:55:25 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211836

Andrey V. Elsukov <ae at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrian at freebsd.org,
                   |                            |rwatson at FreeBSD.org

--- Comment #4 from Andrey V. Elsukov <ae at FreeBSD.org> ---
I guess it is related to RSS option.
Your system has many CPU cores, so RSS uses all of them. But netisr has only 2
initialized threads. 
netisr_select_cpuid() uses rss_soft_m2cpuid_v4() to determine cpuid. Since the
last one doesn't limit cpuid with nws_count, we can get cpuid for which we
didn't initialized any data. 
This works for one netisr thread, because we return *cpuidp = nws_array[0],
when nws_count == 1.

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


More information about the freebsd-net mailing list