]> git.ipfire.org Git - thirdparty/bird.git/commit
Locking route attributes cache
authorMaria Matejka <mq@ucw.cz>
Mon, 27 Sep 2021 15:44:19 +0000 (17:44 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 22 Nov 2021 18:05:44 +0000 (19:05 +0100)
commit038fcf1c8b7716415235384de5dc47d07dc45b85
tree835ce12854356d7341e00338bb00969aae02454a
parentf0507f05ce57398e135651896dace4cb68eeed54
Locking route attributes cache

To access route attribute cache from multiple threads at once, we have
to lock the cache on writing. The route attributes data structures are
safe to read unless somebody tries to tamper with the cache itself.
nest/route.h
nest/rt-attr.c