]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: don't touch mlag read event pointer
authorMark Stapp <mjs@voltanet.io>
Wed, 30 Sep 2020 17:24:54 +0000 (13:24 -0400)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 7 Oct 2020 08:01:16 +0000 (11:01 +0300)
Don't touch the mlag read event pointer, it's not safe.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_mlag_private.c

index 1dae758b12a07c6c16896e4938c608543f8f2e36..d39b0c0aee8b78ac7f38043402489d966a0d35d5 100644 (file)
@@ -78,8 +78,6 @@ static int zebra_mlag_read(struct thread *thread)
        uint32_t h_msglen;
        uint32_t tot_len, curr_len = mlag_rd_buf_offset;
 
-       zrouter.mlag_info.t_read = NULL;
-
        /*
         * Received message in sock_stream looks like below
         * | len-1 (4 Bytes) | payload-1 (len-1) |