]> git.ipfire.org Git - thirdparty/bird.git/commit
Using ea_lookup_tmp() for temporarily keeping attribute references
authorMaria Matejka <mq@ucw.cz>
Tue, 23 Apr 2024 16:28:34 +0000 (18:28 +0200)
committerMaria Matejka <mq@ucw.cz>
Sat, 25 May 2024 17:37:16 +0000 (19:37 +0200)
commit091130e84bfe62b8a7cd46d08412fb20decc1e78
tree9736bdc6a2a131f732cf344f2c00acb97b105aa5
parent29cd2c01704e66d1140e6890d20a377786e4ac6d
Using ea_lookup_tmp() for temporarily keeping attribute references

To avoid needs for keeping local temporary references for attributes,
now one can use ea_lookup_tmp() to ensure that the attributes are
valid and stored until the task ends. After that, the attributes are
automatically unref'd and also deallocated if needed.
lib/route.h
nest/rt-attr.c
nest/rt-table.c
proto/bgp/bgp.h
proto/bgp/packets.c