]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_oil.c
pimd: Fix rare crash situation
authorDonald Sharp <sharpd@nvidia.com>
Fri, 14 May 2021 13:46:36 +0000 (09:46 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 19 May 2021 18:48:11 +0000 (14:48 -0400)
commit8c70a46b650d59b2bce8190dead40aa92a6e1ef6
tree5c852a6c2fa2393fb204175951f59fc69c254307
parent262649bd05e0bbc36dce45cc2fd7e19d6955f3c9
pimd: Fix rare crash situation

When running pim on an interface and that interface has
state and we move that interface into a different vrf
there exists a call path where we have not created the pimreg
device yet.  Prevent a crash in this rare situation.

Ticket: #2552763
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pim_oil.c