summaryrefslogtreecommitdiffstats
path: root/lib/mlag.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib: Ensure pointer exists before using in mlagDonald Sharp2020-03-201-1/+4
| | | | | | | Ensure that the s pointer is valid and usable before grabbing data off of it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* lib, pimd, zebra: Provide some insurance against reading bad stream dataSatheesh Kumar K2020-03-061-6/+22
| | | | | | | | | | | | | | This patch does two things: 1) Ensure the decoding of stream data between pim <-> zebra is properly decoded and we don't read beyond the end of the stream. 2) In zebra when we are freeing memory alloced ensure that we actually have memory to delete before we do so. Ticket: CM-27055 Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* zebra,pim : Fixing Review comments in PIM_MLAGSatheesh Kumar K2019-11-191-11/+7
| | | | Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
* pimd, lib: adding support for MLAG Message processing at PIMSatheesh Kumar K2019-11-141-0/+130
| | | | | | | | | This includes: 1. Defining message formats 2. Stream Decoding after receiving the message at PIM 3. Handling MLAG UP & Down Notifications Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
* Revert "Merge pull request #4885 from satheeshkarra/pim_mlag"Quentin Young2019-10-141-130/+0
| | | | | This reverts commit d563896dada99f3474d428f928786cbfde936fee, reversing changes made to 09ea1a40386f02a13cdb0462cc55af0d03f0c277.
* pimd, lib: adding support for MLAG Message processing at PIMSatheesh Kumar K2019-09-241-0/+130
| | | | | | | | | This includes: 1. Defining message formats 2. Stream Decoding after receiving the message at PIM 3. Handling MLAG UP & Down Notifications Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
* lib: Add mlag_role2str functionDonald Sharp2019-01-041-0/+41
Add a generic mlag_role2str function for lib since multiple daemons will be using this code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>