* kame/sys/netinet6/ip6_output.c (ip6_setmoptions): explicitly handle the case where a non-0 interface index points to a NULL ifp in the process of IPV6_LEAVE_GROUP.
ipv6mr_interface != 0 but ifp == NULL. the previous code was not dangerous, but was incorrect.
…ot really accurate since im6o is actually malloced.
… an app does not set it explicitly.
(okay by itojun)
Obtained from: freebsd-current Reported by: Ted Unangst (via Colin Percival)
to stop rejecting MLDv2 Group/Source-Group-Specific Queries. ToDo: *BSDs, IGMPv3, confirm behaviour...
This is to prevent MLDv2 packets from being filtered by per-interface MSF. - Applies per-socket MSF for raw-socket/ICMPv6 socket