NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/45910: setsockopt/MRT6_ADD_MIF



>Number:         45910
>Category:       kern
>Synopsis:       setsockopt/MRT6_ADD_MIF
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 01 19:45:00 +0000 2012
>Originator:     Uwe Toenjes
>Release:        netbsd 5.1_STABLE
>Organization:
University of Leipzig
>Environment:
NetBSD gate.ipv6.uni-leipzig.de 5.1_STABLE NetBSD 5.1_STABLE (MYCONF) #6: Wed 
Jan 11 08:31:50 CET 2012  
root%gate.ipv6.uni-leipzig.de@localhost:/usr/obj/sys/arch/amd64/compile/MYCONF 
amd64
>Description:
I am trying to use IPv6 Multicast Routing. I tested several multicast routing 
daemons like pim6, xorp or mrd6. It seems, that all programs are reporting 
errors at a setsockopt() call:

setsockopt(..., IPPROTO_IPV6, MRT6_ADD_MIF, &mc, sizeof(mc))

For example, the mrd6.log shows:
...
[vlan997] PIM, Has global address, changed to READY.
(MFA) Added interface vlan999 with vif 29
[vlan999] PIM, Has global address, changed to READY.
(MFA) Failed to MRT6_ADD_MIF: Invalid argument
...

At multiple program start, multiple interfaces are affected.

Because the programs are running fine at linux and freebsd but not at netbsd, 
the problem could be a netbsd kernel problem.
>How-To-Repeat:
try to use ipv6 multicast routing at netbsd.
>Fix:



Home | Main Index | Thread Index | Old Index