]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_mroute.c
pimd: Fix some SA issues
authorDonald Sharp <sharpd@cumulusnetwroks.com>
Mon, 8 Aug 2016 13:37:51 +0000 (09:37 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:05 +0000 (20:26 -0500)
commit0bc327f7b45dbb5bbc21ebdf4e546de2761821cb
treea9ae9e084bb2290f1a55a66fe515488f54c27aa1
parenta878ba45729e28709f5916b0ff04bd1620751d60
pimd: Fix some SA issues

SA found these two issues:
1) Check of ifp non-null caused other non-checks down code
to assume ifp could be null.  This is not the case.
If we get a callback at this point we must have a valid ifp pointer.

2) We were inadvertently calling igmp_source_reset_gmi with
a possible NULL source pointer.

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