]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Fix PIM6 MLD VRF support (use recvmsg() pktinfo)
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:14 +0000 (18:43 +0000)
commite22eea10ab752dd5020811c3d70ea40d5a8134e6
tree75f1e3d1ccf5d07f16576dae76decea3299cf1c2
parent1c099098e4018d34e0acf8787847b91289a5f5e3
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