From owner-freebsd-net@freebsd.org Fri Jan 26 00:25:06 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3B40ED7DE3 for ; Fri, 26 Jan 2018 00:25:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3484679D67 for ; Fri, 26 Jan 2018 00:25:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 73A412B856 for ; Fri, 26 Jan 2018 00:25:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0Q0P5H0077957 for ; Fri, 26 Jan 2018 00:25:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0Q0P53r077951 for freebsd-net@FreeBSD.org; Fri, 26 Jan 2018 00:25:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225438] panic in6_unlink_ifa() due to race Date: Fri, 26 Jan 2018 00:25:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 00:25:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225438 --- Comment #2 from Dave Baukus --- 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) at cpufunc.h:63 #10 0xffffffff804bf0c3 in vpanic (fmt=3D, ap=3D0xfffffe1b8ef285c0) at sys/kern/kern_shutdown.c:752 #11 0xffffffff804bef16 in kassert_panic (fmt=3D) at sys/kern/kern_shutdown.c:649 #12 0xffffffff80682613 in in6_ifattach (ifp=3D0xfffff8012150f800, altifp=3D= ) 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, cmd=3D, data=3D0xfffffe1b8ef28880 "igb1", td=3D) at sys/net/if.c:2459 #15 0xffffffff80524ad4 in kern_ioctl (td=3D, fd=3D, com=3D, data=3D) = 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.=