Re: [PATCH] [RESEND] small possible memory leak in FIB rules

2007-11-10 Thread David Miller
From: Denis V. Lunev [EMAIL PROTECTED] 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

[PATCH] [RESEND] small possible memory leak in FIB rules

2007-11-07 Thread Denis V. Lunev
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