]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_mroute.c
pimd: Fix crash when failure to create upstream
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 30 Mar 2017 14:50:04 +0000 (10:50 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 5 Apr 2017 16:38:12 +0000 (12:38 -0400)
commit2830b0186384ff53ed33186276936739f2e079cb
treef7ac325ff8eb7ad8126047d5570fb8d298aded5c
parent850a9f99b8e4ba6e043a75c28d25c9cb092770c5
pimd: Fix crash when failure to create upstream

When we have a *,G mroute that starts receiving any particular
S,G, we will get wholepkt callbacks due to the pimreg in the
OIL for the *,G.

So we need to do SPT switchover, but this can fail if we
do not have a path to the S( but we do to the RP!).

In this case fail gracefully.

Ticket: CM-15621
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c