• Pavel Tvrdik's avatar
    rt-table: Fix kernel protocol export filter memory bug · a290da25
    Pavel Tvrdik authored
    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)
    a290da25
Name
Last commit
Last update
client Loading commit data...
conf Loading commit data...
doc Loading commit data...
filter Loading commit data...
lib Loading commit data...
misc Loading commit data...
nest Loading commit data...
proto Loading commit data...
sysdep Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
Doc Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
aclocal.m4 Loading commit data...
bird.conf Loading commit data...
configure.in Loading commit data...