linux-cp: do not lock table when it's not needed 36/43036/7
authorStanislav Zaikin <[email protected]>
Mon, 26 May 2025 07:52:57 +0000 (09:52 +0200)
committerMatthew Smith <[email protected]>
Tue, 8 Jul 2025 16:13:56 +0000 (16:13 +0000)
commit4e58900cf8d1e34d023b36e1518c4cdfa04d5da6
tree30ad3d47ed2ac499f639e5126aeff25bb424d2c3
parentd6c8d33fb2253370b11c28a9f4dd16363888e85d
linux-cp: do not lock table when it's not needed

Do not lock table when lcp is not installing routes (e.g. zero nexthops
or ipv6 multicast routes), otherwise it will stay locked forever.

Type: fix

Signed-off-by: Stanislav Zaikin <[email protected]>
Change-Id: I4070ce0e0823b5afbd56c5cd79ae39a02c7d4300
src/plugins/linux-cp/lcp_router.c