]> git.proxmox.com Git - mirror_frr.git/commit
pimd: Do not forward BSM to interfaces that has no pim neighbors
authorsaravanank <saravanank@vmware.com>
Tue, 17 Mar 2020 03:57:05 +0000 (20:57 -0700)
committersaravanank <saravanank@vmware.com>
Tue, 17 Mar 2020 03:57:05 +0000 (20:57 -0700)
commit9255f21eb38f5b2fe97db125525ebcd82ce6b616
treec708af84d80dd58fd890dae280d51e5e17ac83bf
parent7f2ccbe562cae49fb8bf1770a0ec79b701ee41af
pimd: Do not forward BSM to interfaces that has no pim neighbors

Problem:
We are receiving PIM BSR packet over the pim interface which has no nbrs

According to RFC 5059 Sec 3.4
   When a Bootstrap message is forwarded, it is forwarded out of every
   multicast-capable interface that has PIM neighbors (including the one
   over which the message was received).

RCA:
We are sending to all pim neighbors.

Fix:
We will avoid the interfaces which has no neighbors.

Verification: Manually verified that Pim router doesn't forward to intf with no nbrs

Signed-off-by: Saravanan K <saravanank@vmware.com>
pimd/pim_bsm.c