]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Fix high cpu load of pim when interface goes down
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 12 Sep 2016 13:01:46 +0000 (09:01 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:09 +0000 (20:26 -0500)
When a interface goes down we accidently put ourselves into
an infinite loop.

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

index 8b34a455761151dd68cfc3ee941e0a7eccc8416b..991bac8a2ea84af7f3dee75f58e0866cc89f922d 100644 (file)
@@ -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;
        }
     }