fib: fix adj pool expand cases 72/28472/2
authorDave Barach <dave@barachs.net>
Fri, 5 Jun 2020 11:06:21 +0000 (07:06 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 19:47:21 +0000 (19:47 +0000)
commit1c39c6556df7ce3ba4509425c2976c015c07fa05
treead2829435a9e2f509e4f49c05178f8f98cf1dc88
parent1c73742cb3c90f11a7b9e9c01100c464a82951fd
fib: fix adj pool expand cases

adj_alloc (...) is not thread safe when the adj pool or combined
counter vectors expand.

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I55710de6ecc083b7434e11798659cca9250c9131
(cherry picked from commit c2d2228e928b7c69dc88e9c3b7502966d0e32d8d)
src/vnet/adj/adj.c