Date: Thu, 21 May 2020 11:35:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246629] Multicast stack problem - MRT_ADD_VIF Address already in use Message-ID: <bug-246629-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246629 Bug ID: 246629 Summary: Multicast stack problem - MRT_ADD_VIF Address already in use Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ozkan.kirik@gmail.com Hello,=20 I'm using FreeBSD 12.1-STABLE.=20 # uname -a FreeBSD test.test.com 12.1-STABLE FreeBSD 12.1-STABLE #8 1f999e39f46(v2)-di= rty: Wed Apr 22 08:40:36 +03 2020=20=20=20 test@test.test.com:/usr/obj/usr/src/amd64.amd64/sys/amd64 After restarting multicast routing daemon, daemon can't start with this err= or: "Failed adding VIF 1 (MRT_ADD_VIF) for iface em1: Address already in use". = pimd tries to disable all vifs from kernel (shown in output below) but still thr= ows the same error. I tried with both mrouted and pimd. Both of them shows same behavior. My opinion is kernel doesn't disable VIFs.=20 I opened a bug report for netstat -g also ( bug #246626 ), I think there is= =20 corruption about the multicast stack in the kernel. There is no problem on FreeBSD 11.2. To reproduce error: # pimd # killall pimd # pimd -d -s debug debug level 0xffffffff (dvmrp_detail,dvmrp_prunes,dvmrp_routes,dvmrp_neighbors,dvmrp_timers,igmp_p= roto,igmp_timers,igmp_members,trace,timeout,packets,interfaces,kernel,cache= ,rsrr,pim_detail,pim_hello,pim_register,pim_join_prune,pim_bootstrap,pim_as= serts,pim_cand_rp,pim_routes,pim_timers,pim_rpf) 11:52:23.035 pimd version 2.3.2 starting ... 11:52:23.035 Got 262144 byte send buffer size in 0 iterations 11:52:23.035 Got 262144 byte recv buffer size in 0 iterations 11:52:23.035 Got 262144 byte send buffer size in 0 iterations 11:52:23.035 Got 262144 byte recv buffer size in 0 iterations 11:52:23.035 Getting vifs from kernel 11:52:23.035 Installing em0 (10.2.4.20 on subnet 10.2.4/24) as vif #0 - rat= e 0 11:52:23.035 Installing em1 (192.168.58.1 on subnet 192.168.58) as vif #1 - rate 0 11:52:23.035 Installing em2 (192.168.59.1 on subnet 192.168.59) as vif #2 - rate 0 11:52:23.035 Installing em1.1600 (192.168.16.1 on subnet 192.168.16) as vif= #3 - rate 0 11:52:23.035 Installing em1.1700 (192.168.17.1 on subnet 192.168.17) as vif= #4 - rate 0 11:52:23.035 Disabling all vifs from kernel 11:52:23.035 Getting vifs from /usr/local/etc//pimd.conf 11:52:23.035 Local Cand-BSR address 192.168.59.1, priority 5 11:52:23.035 Local Cand-RP address 192.168.59.1, priority 20, interval 30 s= ec 11:52:23.035 spt-threshold packets 0 interval 100 11:52:23.035 Local static RP: 169.254.0.1, group 232.0.0.0/8 11:52:23.035 IGMP query interval : 12 sec 11:52:23.035 IGMP querier timeout : 41 sec 11:52:23.035 **Failed adding VIF 1 (MRT_ADD_VIF) for iface em1: Address alr= eady in use** --=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-246629-227>