Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2018 22:22:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 229384] Can't remove address from carp
Message-ID:  <bug-229384-7501-4Hg61VNrQb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229384-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229384-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=3D229384

--- Comment #9 from Kajetan Staszkiewicz <vegeta@tuxpowered.net> ---
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<value optimized out>) 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<value optimized out>, ap=3D<value
optimized out>) at
/usr/home/kajetan.staszkiewicz/freebsd.git/sys/kern/kern_shutdown.c:776
#3  0xffffffff80ac4e00 in kassert_panic (fmt=3D<value optimized out>) 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<value optimized out>, cmd=3D<v=
alue
optimized out>, data=3D<value optimized out>, ifp=3D<value optimized out>,
td=3D<value optimized out>)
    at /usr/home/kajetan.staszkiewicz/freebsd.git/sys/netinet6/in6.c:572
#6  0xffffffff80baea29 in ifioctl (so=3D0xfffff800058d1000, cmd=3D215642345=
1,
data=3D<value optimized out>, td=3D0xfffff80005d17620) at
/usr/home/kajetan.staszkiewicz/freebsd.git/sys/net/if.c:3071
#7  0xffffffff80b261a9 in kern_ioctl (td=3D0xfffff80005d17620, fd=3D<value
optimized out>, com=3D<value optimized out>, data=3D<value optimized out>) =
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229384-7501-4Hg61VNrQb>