From owner-freebsd-net@freebsd.org Tue Aug 7 22:22:46 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 A5004106CC26 for ; Tue, 7 Aug 2018 22:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 42F6483EB3 for ; Tue, 7 Aug 2018 22:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 070C1106CC25; Tue, 7 Aug 2018 22:22:46 +0000 (UTC) Delivered-To: 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 D93B4106CC24 for ; Tue, 7 Aug 2018 22:22:45 +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 7030483EB1 for ; Tue, 7 Aug 2018 22:22:45 +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 B39A424618 for ; Tue, 7 Aug 2018 22:22:44 +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 w77MMiXP027886 for ; Tue, 7 Aug 2018 22:22:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w77MMiAV027883 for net@FreeBSD.org; Tue, 7 Aug 2018 22:22:44 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: net@FreeBSD.org Subject: [Bug 229384] Can't remove address from carp Date: Tue, 07 Aug 2018 22:22:44 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vegeta@tuxpowered.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 22:22:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229384 --- Comment #9 from Kajetan Staszkiewicz --- Non-patched 11.2-RELEASE-p1 kernel with only change being lines: options INVARIANTS options INVARIANT_SUPPORT in kernel configuration file produces the same result and to cause it all w= hich has to be done is to add the same carp address twice: [22:14:37] kajetan-test-aw-3 ~/ # sudo kldload carp [22:14:47] kajetan-test-aw-3 ~/ # sudo ifconfig vtnet0 vhid 254 pass random= pass=20 [22:14:57] kajetan-test-aw-3 ~/ # sudo ifconfig vtnet0 inet6 2a00:X:0001::1= /128 vhid 254 alias [22:15:22] kajetan-test-aw-3 ~/ # sudo ifconfig vtnet0 inet6 2a00:X:0001::1= /128 vhid 254 alias panic: carp_attach: ifa 0xfffff80003dd5a00 attached #0 doadump (textdump=3D) at pcpu.h:229 #1 0xffffffff80ac4b0c in kern_reboot (howto=3D260) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/kern/kern_shutdown.c:383 #2 0xffffffff80ac5021 in vpanic (fmt=3D, ap=3D) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/kern/kern_shutdown.c:776 #3 0xffffffff80ac4e00 in kassert_panic (fmt=3D) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/kern/kern_shutdown.c:666 #4 0xffffffff8223c655 in carp_attach (ifa=3D0xfffff80003dd5a00, vhid=3D127= ) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/netinet/ip_carp.c:1806 #5 0xffffffff80cc0a72 in in6_control (so=3D, cmd=3D, data=3D, ifp=3D, td=3D) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/netinet6/in6.c:572 #6 0xffffffff80baea29 in ifioctl (so=3D0xfffff800058d1000, cmd=3D215642345= 1, data=3D, td=3D0xfffff80005d17620) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/net/if.c:3071 #7 0xffffffff80b261a9 in kern_ioctl (td=3D0xfffff80005d17620, fd=3D, com=3D, data=3D) = at file.h:323 #8 0xffffffff80b25e7c in sys_ioctl (td=3D0xfffff80005d17620, uap=3D0xfffff80005d17b58) at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/kern/sys_generic.c:745 #9 0xffffffff80f38509 in amd64_syscall (td=3D0xfffff80005d17620, traced=3D= 0) at subr_syscall.c:132 #10 0xffffffff80f1447d in fast_syscall_common () at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/amd64/amd64/exception.S:479 #11 0x0000000800fddf7a in ?? () Now you have a nice issue for 11.2. I really don't feel like repeating the = rest information I already gave. --=20 You are receiving this mail because: You are the assignee for the bug.=