ipv4: Fix fib_info->fib_metrics leak
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 4 Sep 2011 20:24:20 +0000 (20:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2011 21:42:26 +0000 (17:42 -0400)
commit19c1ea14c930db5e9c0cd7c3c6f4d01457dfcd69
tree3dd32223f9e38e94441029d2d437f53044a74862
parent4fb66b8210c7d7147b164e19b1b44da916a75691
ipv4: Fix fib_info->fib_metrics leak

Commit 4670994d(net,rcu: convert call_rcu(fc_rport_free_rcu) to
kfree_rcu()) introduced a memory leak. This patch reverts it.

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c