[Bug 225438] panic in6_unlink_ifa() due to race

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 26 00:25:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225438

--- Comment #2 from Dave Baukus <daveb at 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 == NULL, ifp=0xfffff8012150f800

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

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

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


More information about the freebsd-net mailing list