[Bug 234846] [lagg] race condition when adding port
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 15 08:03:17 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234846
--- Comment #7 from Alexandre martins <alexandre.martins at stormshield.eu> ---
I have only the network thread, the ifconfig thread have its backtrace
truncated, but the td->td_proc show me that the command was "ifconfig lagg0
aggport em0"
The crash is due to the "lp_psc" field that is NULL into the "struct lagg_port"
There it is:
(kgdb) bt
#0 __curthread () at ./machine/pcpu.h:219
#1 doadump (textdump=<optimized out>) at ../../../kern/kern_shutdown.c:298
#2 0xffffffff80459680 in kern_reboot (howto=260) at
../../../kern/kern_shutdown.c:486
#3 0xffffffff80459a25 in vpanic (fmt=<optimized out>, ap=<optimized out>) at
../../../kern/kern_shutdown.c:889
#4 0xffffffff804598f3 in panic (fmt=<unavailable>) at
../../../kern/kern_shutdown.c:818
#5 0xffffffff8067e848 in trap_fatal (frame=<optimized out>, eva=<optimized
out>) at ../../../amd64/amd64/trap.c:858
#6 0xffffffff8067ec27 in trap_pfault (frame=<unavailable>, usermode=<optimized
out>) at
../../../amd64/amd64/trap.c:713
#7 0xffffffff8067e24a in trap (frame=0xfffffe0d900b4630) at
../../../amd64/amd64/trap.c:447
#8 <signal handler called>
#9 lacp_iscollecting (lgp=0xfffff80572adbe00) at
../../../net/ieee8023ad_lacp.h:324
#10 lagg_lacp_input (sc=<optimized out>, lp=0xfffff80572adbe00, m=<optimized
out>) at ../../../net/if_lagg.c:2176
#11 0xffffffff80521155 in lagg_proto_input (sc=<optimized out>, m=<optimized
out>, sc=<optimized
out>, lp=<optimized out>, m=<optimized out>) at ../../../net/if_lagg.c:362
#12 lagg_input (ifp=0xfffff8034bfc3800, m=0xfffff8065cb60a00) at
../../../net/if_lagg.c:1667
#13 0xffffffff8051d555 in ether_input (ifp=0xfffff8034bfc3800,
m=0xfffff8065cb60a00) at ../../../net/if_ethersubr.c:794
#14 0xffffffff8052d0fa in pollif_recv () at ../../../net/netisr_pollif.c:529
#15 0xffffffff8052c7a5 in swi_net (arg=0xfffffe10ca797880) at
../../../net/netisr.c:824
#16 0xffffffff8042fe5b in intr_event_execute_handlers (p=<optimized out>,
ie=0xfffff8034bf12a00)
at ../../../kern/kern_intr.c:1297
#17 0xffffffff80430456 in ithread_execute_handlers (ie=<optimized out>,
p=<optimized out>)
at ../../../kern/kern_intr.c:1310
#18 ithread_loop (arg=0xfffff8034befd7c0) at ../../../kern/kern_intr.c:1394
#19 0xffffffff8042d595 in fork_exit (callout=0xffffffff804303c0 <ithread_loop>,
arg=0xfffff8034befd7c0,
frame=0xfffffe0d900b49c0) at ../../../kern/kern_fork.c:1027
#20 <signal handler called>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list