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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Aug 2021 12:30:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254695

Gordon Bergling <gbe@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Hyper-V + TCP_BBR: Kernel   |Hyper-V + TCP_BBR: Kernel
                   |Panic: Assertion            |Panic: Assertion
                   |in_epoch(net_epoch_preempt) |in_epoch(net_epoch_preempt)
                   |failed at                   |failed at
                   |netinet/tcp_lro.c:915       |netinet/tcp_lro.c:1180

--- Comment #33 from Gordon Bergling <gbe@FreeBSD.org> ---
With a -CURRENT from today the line numbers have changed, so here is the new
panic output and backtrace.

----------------------------------------------------------------
panic: Assertion in_epoch(net_epoch_preempt) failed at
/boiler/nfs/src/sys/netinet/tcp_lro.c:1180
cpuid = 0
time = 1629461898
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe005174d850
vpanic() at vpanic+0x187/frame 0xfffffe005174d8b0
panic() at panic+0x43/frame 0xfffffe005174d910
tcp_lro_flush() at tcp_lro_flush+0x171d/frame 0xfffffe005174d9a0
tcp_lro_flush_all() at tcp_lro_flush_all+0x1a3/frame 0xfffffe005174d9f0
hn_chan_callback() at hn_chan_callback+0x112c/frame 0xfffffe005174dad0
vmbus_chan_task() at vmbus_chan_task+0x2f/frame 0xfffffe005174db00
taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe005174db80
taskqueue_thread_loop() at taskqueue_thread_loop+0xc2/frame 0xfffffe005174dbb0
fork_exit() at fork_exit+0x80/frame 0xfffffe005174dbf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe005174dbf0
----------------------------------------------------------------

backtrace:

----------------------------------------------------------------
#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  0xffffffff80c245c0 in kern_reboot (howto=260) at
/boiler/nfs/src/sys/kern/kern_shutdown.c:486
#3  0xffffffff80c24a26 in vpanic (fmt=0xffffffff8120a5e4 "Assertion %s failed
at %s:%d", ap=<optimized out>)
    at /boiler/nfs/src/sys/kern/kern_shutdown.c:919
#4  0xffffffff80c24773 in panic (fmt=<unavailable>) at
/boiler/nfs/src/sys/kern/kern_shutdown.c:843
#5  0xffffffff80e08c6d in tcp_lro_lookup (ifp=0xfffff80008f42800,
pa=0xfffffe00573dd748)
    at /boiler/nfs/src/sys/netinet/tcp_lro.c:1180
#6  tcp_lro_flush_tcphpts (lc=0xfffffe00572d1ad0, le=0xfffffe00573dd710) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:1293
#7  tcp_lro_flush (lc=lc@entry=0xfffffe00572d1ad0,
le=le@entry=0xfffffe00573dd710)
    at /boiler/nfs/src/sys/netinet/tcp_lro.c:1373
#8  0xffffffff80e09003 in tcp_lro_rx_done (lc=<optimized out>) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:590
#9  tcp_lro_flush_all (lc=lc@entry=0xfffffe00572d1ad0) at
/boiler/nfs/src/sys/netinet/tcp_lro.c:1534
#10 0xffffffff8105bd2c in hn_chan_rollup (rxr=<optimized out>,
txr=0xfffff80009026c00)
    at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:2886
#11 hn_chan_callback (chan=chan@entry=0xfffff80003ab6400, xrxr=<optimized out>,
xrxr@entry=0xfffffe00572d0000)
    at /boiler/nfs/src/sys/dev/hyperv/netvsc/if_hn.c:7617
#12 0xffffffff81067faf in vmbus_chan_task (xchan=0xfffff80003ab6400,
pending=<optimized out>)
    at /boiler/nfs/src/sys/dev/hyperv/vmbus/vmbus_chan.c:1381
#13 0xffffffff80c8792a in taskqueue_run_locked
(queue=queue@entry=0xfffff80003550100)
    at /boiler/nfs/src/sys/kern/subr_taskqueue.c:476
#14 0xffffffff80c889b2 in taskqueue_thread_loop
(arg=arg@entry=0xfffffe0051a1f090)
    at /boiler/nfs/src/sys/kern/subr_taskqueue.c:793
#15 0xffffffff80bdd830 in fork_exit (callout=0xffffffff80c888f0
<taskqueue_thread_loop>, arg=0xfffffe0051a1f090,
    frame=0xfffffe005174dc00) at /boiler/nfs/src/sys/kern/kern_fork.c:1087
#16 <signal handler called>
----------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.