Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 00:25:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 225438] panic in6_unlink_ifa() due to race
Message-ID:  <bug-225438-2472-aaEd0EwDDm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225438-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225438-2472@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=3D225438

--- Comment #2 from Dave Baukus <daveb@spectralogic.com> ---
Admittedly, the test case listed is specious, but the following a bit less =
so:

while :
do
        setfib 1 arp -d $ADDR &
        setfib 1 ping -c 4 $ADDR &
        setfib 1 arp -d $ADDR &
        /etc/rc.d/netif restart igb1 &
        setfib 1 ping -c 4 $ADDR &
        setfib 1 arp -d $ADDR &

        wait
        sleep 5
done

panic: in6_ifattach_linklocal: ia =3D=3D NULL, ifp=3D0xfffff8012150f800

(struct thread *)0xfffff8171e964560, tid 102323
   ifconfig :: (struct proc *)0xfffff8171e298588, pid 48226
   args: /sbin/ifconfig igb1 up

#9  0xffffffff804ffacb in kdb_enter (why=3D0xffffffff80862eef "panic", msg=
=3D<value
optimized out>) at cpufunc.h:63
#10 0xffffffff804bf0c3 in vpanic (fmt=3D<value optimized out>,
ap=3D0xfffffe1b8ef285c0) at sys/kern/kern_shutdown.c:752
#11 0xffffffff804bef16 in kassert_panic (fmt=3D<value optimized out>) at
sys/kern/kern_shutdown.c:649
#12 0xffffffff80682613 in in6_ifattach (ifp=3D0xfffff8012150f800, altifp=3D=
<value
optimized out>) at sys/netinet6/in6_ifattach.c:506
#13 0xffffffff805ade5a in if_up (ifp=3D0xfffff8012150f800) at sys/net/if.c:=
2155
#14 0xffffffff805af399 in ifioctl (so=3D<value optimized out>, cmd=3D<value
optimized out>, data=3D0xfffffe1b8ef28880 "igb1", td=3D<value optimized out=
>) at
sys/net/if.c:2459
#15 0xffffffff80524ad4 in kern_ioctl (td=3D<value optimized out>, fd=3D<val=
ue
optimized out>, com=3D<value optimized out>, data=3D<value optimized out>) =
at
file.h:323
#16 0xffffffff8052478e in sys_ioctl (td=3D0xfffff8171e964560,
uap=3D0xfffffe1b8ef28a30) at sys/kern/sys_generic.c:745

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225438-2472-aaEd0EwDDm>