[Bug 286179] Passing a vlan interface to a vnet jail result in a stuck dying state

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286179

--- Comment #13 from Peter Ganzhorn <[email protected]> ---
Maybe I got to the bottom of this.
The vlan, vcxl and iavf drivers seem to be all using iflib.
I actually found a bug in sys/net/iflib.c and am able to start and stop vnet
jails with my iavf interfaces on a kernel with my fix applied.

In iflib_rxeof() is a goto statement that jumps past the CURVNET_RESTORE() call
in case the call to isc_rxd_pkt_get returns an error.
Since the previous call to CURVNET_SET_QUIET() pushes the information about the
previous selected VNET onto the stack, CURVNET_RESTORE() should not be skipped
before returning from iflib_rxeof().

florian.millet and crest: Could you please build kernels with that patch
applied and report back if it also fixes your issues?

Please excuse that I do not know how to properly submit a patch to the FreeBSD
sources.
I am only using FreeBSD for a few weeks on only one machine and did my first
kernel build for testing my patch today.
Also the MAINTAINERS file did not make clear to me, who is the MAINTAINER of
sys/net or sys/net/iflib and I have no clue if the correct maintainer is on the
CC list.

Could someone with enough experience please check who should be notified of
this to get the change in the sources?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.