]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Fix PIM6 MLD VRF support (use recvmsg() pktinfo) 18334/head
authorMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Tue, 4 Mar 2025 13:24:33 +0000 (14:24 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Mar 2025 18:43:45 +0000 (18:43 +0000)
commitcb6242bd8d22c0b4d05d675d649b0e860926612b
tree76edea3eecbdf0f375a3447e5c22d4a4f1aa7db3
parent2889b3dac46a64561c22d2544839aeeb7426716d
pimd: Fix PIM6 MLD VRF support (use recvmsg() pktinfo)

When receiving MLD messages, prefer pktinfo over msghdr.msg_name for
determining the source interface. The latter is just the VRF master
interface in case of VRF and we need the true interface the packet was
received on instead.

Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
(cherry picked from commit 374c8dc4dbc8a560036fecdfb3213f690099b869)
pimd/pim6_mld.c