[IPV4]: Check fib4_rules_init failure.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:21:49 +0000 (03:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:25 +0000 (15:01 -0800)
commitdbb50165b512f6c9b7aae10af73ae5b6d811f4d0
tree9ba74fb468ec461668351a64c76c5f5d469842fa
parent61a0265344786a548e8a0b26cb668e78a71f9602
[IPV4]: Check fib4_rules_init failure.

This adds error paths into both versions of fib4_rules_init
(with/without CONFIG_IP_MULTIPLE_TABLES) and returns error code to the
caller.

Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c
net/ipv4/fib_rules.c