diff options
author | Denis V. Lunev <den@openvz.org> | 2007-11-10 22:12:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-10 22:12:03 -0800 |
commit | 2994c63863ac350c4c8c6a65d8110749c2abb95c (patch) | |
tree | 5509f71222641098683df1b1e0ff7bdfc2758b2c /lib | |
parent | 33d36bb83c5b566c98a441e791736e25dbc35fc3 (diff) | |
download | linux-stable-2994c63863ac350c4c8c6a65d8110749c2abb95c.tar.gz linux-stable-2994c63863ac350c4c8c6a65d8110749c2abb95c.tar.bz2 linux-stable-2994c63863ac350c4c8c6a65d8110749c2abb95c.zip |
[INET]: Small possible memory leak in FIB rules
This patch fixes a small memory leak. Default fib rules can be deleted by
the user if the rule does not carry FIB_RULE_PERMANENT flag, f.e. by
ip rule flush
Such a rule will not be freed as the ref-counter has 2 on start and becomes
clearly unreachable after removal.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions