0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/sysdep/unix
Pavel Tvrdik a290da25a1 rt-table: Fix kernel protocol export filter memory bug
Kernel protocol calls rt_export_merged(), which used @rte_update_pool for
temporary allocations, supposing it is called from other functions from
rt-table.c that handles locking and flushing of the linpool. Therefore,
linpool was not flushed properly and memory leaked.

Add linpool argument to rt_export_merged() and use @krt_filter_lp when
called from kernel protocol.

Thanks to Justin Cattle and Alexander Frolkin for the bugreport.

(Commit squashed and updated by Ondrej Zajicek)
2016-09-15 15:57:51 +02:00
..
config.Y Implement latency tracking, internal event log and watchdog 2015-03-02 09:41:14 +01:00
Doc Documented all the sysdeps (only briefly, I admit). 2000-06-05 12:49:04 +00:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c whitespace fixes 2016-08-16 09:24:12 +02:00
krt.c rt-table: Fix kernel protocol export filter memory bug 2016-09-15 15:57:51 +02:00
krt.h Nest: Fix bug in device proto 2015-11-23 11:13:40 +01:00
krt.Y KRT: Fix trivial error 2016-08-31 14:02:41 +02:00
log.c Log: Fix error handling of debug file open 2016-07-11 20:22:55 +02:00
main.c Main: Add local option 2016-04-07 12:39:49 +02:00
Modules Cleanup in sysdep KRT code, part 2. 2012-04-30 22:25:24 +02:00
random.c Split random number functions off io.c, so that they can be documented 2000-06-05 11:46:40 +00:00
timer.h Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
unix.h unsigned [int] -> uint 2015-06-08 02:24:08 +02:00