[Bug 254695] Hyper-V + TCP_BBR: Kernel Panic: Assertion in_epoch(net_epoch_preempt) failed at netinet/tcp_lro.c:915

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jul 2021 13:19:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254695

--- Comment #23 from Gordon Bergling <gbe@FreeBSD.org> ---
(In reply to Michael Tuexen from comment #19)

I just applied your patch and have a build running.

The backtrace from a kernel build from today:

__curthread () at /boiler/nfs/src/sys/amd64/include/pcpu_aux.h:55
55              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,
(kgdb) bt
#0  __curthread () at /boiler/nfs/src/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=textdump@entry=1) at
/boiler/nfs/src/sys/kern/kern_shutdown.c:399
#2  0xffffffff80c20da0 in kern_reboot (howto=260) at
/boiler/nfs/src/sys/kern/kern_shutdown.c:486
#3  0xffffffff80c21206 in vpanic (fmt=0xffffffff81202daa "Assertion %s failed
at %s:%d", ap=<optimized out>)
    at /boiler/nfs/src/sys/kern/kern_shutdown.c:919
#4  0xffffffff80c20f53 in panic (fmt=<unavailable>) at
/boiler/nfs/src/sys/kern/kern_shutdown.c:843
#5  0xffffffff80e01f6d in tcp_lro_lookup (ifp=0xfffff80003784000,
pa=0xfffffe00573d9748)
    at /boiler/nfs/src/sys/netinet/tcp_lro.c:1155
#6  tcp_lro_flush_tcphpts (lc=0xfffffe00572cdad0, le=0xfffffe00573d9710) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:1268
#7  tcp_lro_flush (lc=lc@entry=0xfffffe00572cdad0,
le=le@entry=0xfffffe00573d9710)
    at /boiler/nfs/src/sys/netinet/tcp_lro.c:1348
#8  0xffffffff80e02303 in tcp_lro_rx_done (lc=<optimized out>) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:565
#9  tcp_lro_flush_all (lc=lc@entry=0xfffffe00572cdad0) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:1509
#10 0xffffffff8105487c in hn_chan_rollup (rxr=<optimized out>,
txr=0xfffff80003b2e400)
    at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:2886
#11 hn_chan_callback (chan=chan@entry=0xfffff80003ac7c00, xrxr=<optimized out>,
xrxr@entry=0xfffffe00572cc000)
    at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7617
#12 0xffffffff81060aff in vmbus_chan_task (xchan=0xfffff80003ac7c00,
pending=<optimized out>)
    at /boiler/nfs/src/sys/dev/hyperv/vmbus/vmbus_chan.c:1381
#13 0xffffffff80c82e8a in taskqueue_run_locked
(queue=queue@entry=0xfffff800035dc400)
    at /boiler/nfs/src/sys/kern/subr_taskqueue.c:476
#14 0xffffffff80c83f12 in taskqueue_thread_loop
(arg=arg@entry=0xfffffe0051a1b090)
    at /boiler/nfs/src/sys/kern/subr_taskqueue.c:793
#15 0xffffffff80bda300 in fork_exit (callout=0xffffffff80c83e50
<taskqueue_thread_loop>, arg=0xfffffe0051a1b090,
    frame=0xfffffe0051757c00) at /boiler/nfs/src/sys/kern/kern_fork.c:1083

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