summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-11-10 15:09:37 -0500
committerDonald Sharp <sharpd@nvidia.com>2022-02-04 15:33:58 -0500
commite3ee55d4bde5de9d39a91b53b30f67a6e45bbdb8 (patch)
treeb3b2e0daed7d1a4f313f65f4a3c80b9615649c1f /zebra/zebra_ns.h
parent00249e255ee651eefb027f3a3c8deb0f130f6193 (diff)
zebra: set zd_is_update in 1 spot
The ctx->zd_is_update is being set in various spots based upon the same value that we are passing into dplane_ctx_ns_init. Let's just consolidate all this into the dplane_ctx_ns_init so that the zd_is_udpate value is set at the same time that we increment the sequence numbers to use. As a note for future me's reading this. The sequence number choosen for the seq number passed to the kernel is that each context gets a copy of the appropriate nlsock to use. Since it's a copy at a point in time, we know we have a unique sequence number value. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_ns.h')
0 files changed, 0 insertions, 0 deletions