On Mon, Mar 04, 2024 at 11:38:54AM +0100, Claudio Jeker wrote: > On Mon, Mar 04, 2024 at 10:00:01AM +0100, Alexander Haensch wrote: > > For us this crash was introduced in OpenBSD 7.4 . That was the reason we > > reverted back to 7.3. > > > > In our case, the crash goes through the ixgbe driver and bpf_filter, but the > > start it always in wg_encap_worker > > > > It this patch somehow related to the issue? > > https://github.com/openbsd/src/commit/dbebf518da97d8c0c7746cce71f5ea4ae909cb89 > > We are using fq_codel in pf. > > > > There is a design error in wg(4) that causes crashes when used with > queueing / traffic shaping. The problem is that wg(4) uses a sleeping lock > in a place where the code is not allowed to sleep. > > Not sure if this is the issue here. But there was a report not long ago on > bugs@ where the noise code was called from a timeout. This triggers an > assert in the sleep / scheduler because the code tries to sleep in > interrup context. > > Right now do not use queueing with wg(4).
My latest diff [1] should fix the queueing problem. 1. https://marc.info/?l=openbsd-bugs&m=170913252808733&w=2
