]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Add code to track sequence number from zebra_router
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 22 Jan 2019 12:39:14 +0000 (07:39 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 Jan 2019 13:02:39 +0000 (08:02 -0500)
commit1485bbe75554e5d01bcd8203fe75662c04f460f2
treed4c8353576fe7f7ece5f6c89cd0c2353075e4cc7
parenta28436ca476f4a862ede8f36e7257741b404f876
zebra: Add code to track sequence number from zebra_router

The sequence number used should be unique and increase by 1
for netlink commands.  This will allow the code to match
up batched commands to actual requests, so that we can signal
the failure correctly back.

So start the movement and tracking of sequence numbers as
an atomic uint32_t in zebra_router.  Modify the dataplane
code to start tracking contexts from this value.

In future commits we will move more of the sequencing
data into using this value.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_dplane.c
zebra/zebra_router.c
zebra/zebra_router.h