If IP_MULTICAST_IF or IP_ADD_MEMBERSHIP pass a interface index to the
authorclaudio <claudio@openbsd.org>
Tue, 2 Feb 2021 17:47:42 +0000 (17:47 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 2 Feb 2021 17:47:42 +0000 (17:47 +0000)
commit1bfb264a3dc887b9d5e115eab90ad7a4cfccbad9
treeefbd05f7443bc0449ecc97a664d1ec7cc915d01c
parent32bab3b6920ec1e662677c4467903c68962a5caf
If IP_MULTICAST_IF or IP_ADD_MEMBERSHIP pass a interface index to the
kernel make sure that the rdomain of that interface is the same as
the rdomain of the inpcb.
Problem spotted and fix tested by semarie@
OK bluhm@ mvs@
sys/netinet/ip_output.c