From: Donald Sharp Date: Mon, 12 Sep 2016 13:01:46 +0000 (-0400) Subject: pimd: Fix high cpu load of pim when interface goes down X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~233 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=29444f8feebd0a15da246c22280010d63935e0b8;p=matthieu%2Ffrr.git pimd: Fix high cpu load of pim when interface goes down When a interface goes down we accidently put ourselves into an infinite loop. Ticket: CM-12803 Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 8b34a45576..991bac8a2e 100644 --- a/pimd/pim_pim.c +++ b/pimd/pim_pim.c @@ -523,8 +523,8 @@ pim_msg_send_frame (int fd, char *buf, size_t len, __PRETTY_FUNCTION__, dst_str, fd, len, errno, safe_strerror(errno)); - break; return -1; + break; } }