[Devel] Re: [PATCH] [RESEND] small possible memory leak in FIB rules
David Miller
davem at davemloft.net
Sat Nov 10 22:12:17 PST 2007
From: "Denis V. Lunev" <den at openvz.org>
Date: Wed, 7 Nov 2007 16:36:36 +0300
> 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 at openvz.org>
> Acked-by: Alexey Kuznetsov <kuznet at ms2.inr.ac.ru>
Applied, thanks Denis.
More information about the Devel
mailing list