]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Ensure that we have a ifp pointer 6323/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 30 Apr 2020 15:16:28 +0000 (11:16 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 30 Apr 2020 15:16:28 +0000 (11:16 -0400)
commit68cecc3b69af13cda334e5bf0acb60d01e9f7ddc
tree0aa7877cfe8b2aefa980059da3536ceb88fdf70c
parentba3f5f06d024c3874c70b249ebe0aae82d5f63d9
bgpd: Ensure that we have a ifp pointer

It is possible that the if_lookup_by_index() call will return
a NULL value and calling zclient_send_interface_radv_req.  Just
test that we have a valid interface pointer.

Found by Coverity

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_nht.c