]> git.puffer.fish Git - mirror/frr.git/commit
pimd, pim6d: Fix BSM packet process
authorSarita Patra <saritap@vmware.com>
Tue, 18 Oct 2022 23:06:12 +0000 (16:06 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 2 Mar 2023 06:11:17 +0000 (06:11 +0000)
commitca163640f1a2e0ff181ad84a7c22fc76c4da3ecf
tree944a89fabfdc2804950c9af5e92c5c2be4c03f58
parent0320f687e618ab5a4c5cb62cb622aa20377adb50
pimd, pim6d: Fix BSM packet process

Problem 1:
When route to BSR is having nexthop secondary address,
neighborship is built with primary address,
then pim_neighbor_find() fails, which cause drop of BSM
packet.

Fix 1:
Verify pim neighborship on the BSM received interface.
Problem 2:

Problem 2:
Source IP BSM address is primary address, where
as nexthop also can be primary or secondary address.

Fix 2:
Avoiding the check (nhaddr == src_ip) for PIMV6

Issue: #11957

Signed-off-by: Sarita Patra <saritap@vmware.com>
(cherry picked from commit 2c6a32f9be3c687fe5c52d055f21912da8364ec6)
pimd/pim_nht.c