]> git.puffer.fish Git - mirror/frr.git/commit
zebra: use atomic operations in FPM
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 17 Dec 2019 13:03:54 +0000 (10:03 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 14 Apr 2020 16:45:39 +0000 (13:45 -0300)
commitedfeff4251787e2239e1c30e9721aa402d34825d
treee1b1526a49a61f52f14ba40035508e144ae93c3c
parentba803a2fbed5459a05244f7742de8c5df7ff2d81
zebra: use atomic operations in FPM

FPM has a thread to encode and enqueue output buffer that might compete
with zebra RIB/RMAC walk on startup, so lets use atomic operations to
make sure we are not getting statistic/counters wrong.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
zebra/dplane_fpm_nl.c