Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 08:03:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 234846] [lagg] race condition when adding port
Message-ID:  <bug-234846-7501-7oNKOmjdUj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234846-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234846-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234846

--- Comment #7 from Alexandre martins <alexandre.martins@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_p=
ort"

There it is:

(kgdb) bt
#0  __curthread () at ./machine/pcpu.h:219
#1  doadump (textdump=3D<optimized out>) at ../../../kern/kern_shutdown.c:2=
98
#2  0xffffffff80459680 in kern_reboot (howto=3D260) at
../../../kern/kern_shutdown.c:486
#3  0xffffffff80459a25 in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou=
t>) at
../../../kern/kern_shutdown.c:889

#4  0xffffffff804598f3 in panic (fmt=3D<unavailable>) at
../../../kern/kern_shutdown.c:818
#5  0xffffffff8067e848 in trap_fatal (frame=3D<optimized out>, eva=3D<optim=
ized
out>) at ../../../amd64/amd64/trap.c:858

#6  0xffffffff8067ec27 in trap_pfault (frame=3D<unavailable>, usermode=3D<o=
ptimized
out>) at=20
../../../amd64/amd64/trap.c:713
#7  0xffffffff8067e24a in trap (frame=3D0xfffffe0d900b4630) at
../../../amd64/amd64/trap.c:447
#8  <signal handler called>
#9  lacp_iscollecting (lgp=3D0xfffff80572adbe00) at
../../../net/ieee8023ad_lacp.h:324
#10 lagg_lacp_input (sc=3D<optimized out>, lp=3D0xfffff80572adbe00, m=3D<op=
timized
out>) at ../../../net/if_lagg.c:2176

#11 0xffffffff80521155 in lagg_proto_input (sc=3D<optimized out>, m=3D<opti=
mized
out>, sc=3D<optimized=20
out>, lp=3D<optimized out>, m=3D<optimized out>) at ../../../net/if_lagg.c:=
362
#12 lagg_input (ifp=3D0xfffff8034bfc3800, m=3D0xfffff8065cb60a00) at
../../../net/if_lagg.c:1667
#13 0xffffffff8051d555 in ether_input (ifp=3D0xfffff8034bfc3800,
m=3D0xfffff8065cb60a00) at ../../../net/if_ethersubr.c:794

#14 0xffffffff8052d0fa in pollif_recv () at ../../../net/netisr_pollif.c:529
#15 0xffffffff8052c7a5 in swi_net (arg=3D0xfffffe10ca797880) at
../../../net/netisr.c:824
#16 0xffffffff8042fe5b in intr_event_execute_handlers (p=3D<optimized out>,
ie=3D0xfffff8034bf12a00)=20
at ../../../kern/kern_intr.c:1297
#17 0xffffffff80430456 in ithread_execute_handlers (ie=3D<optimized out>,
p=3D<optimized out>)=20
at ../../../kern/kern_intr.c:1310
#18 ithread_loop (arg=3D0xfffff8034befd7c0) at ../../../kern/kern_intr.c:13=
94
#19 0xffffffff8042d595 in fork_exit (callout=3D0xffffffff804303c0 <ithread_=
loop>,
arg=3D0xfffff8034befd7c0,=20
frame=3D0xfffffe0d900b49c0) at ../../../kern/kern_fork.c:1027
#20 <signal handler called>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234846-7501-7oNKOmjdUj>