[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071207.004358.233535756.davem@davemloft.net>
Date: Fri, 07 Dec 2007 00:43:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dlezcano@...ibm.com
Cc: yoshfuji@...ux-ipv6.org, pekkas@...core.fi, netdev@...r.kernel.org,
benjamin.thery@...l.net
Subject: Re: [patch 4/6] ipv6 - make ip6_route_init to return an error code
From: Daniel Lezcano <dlezcano@...ibm.com>
Date: Thu, 06 Dec 2007 14:53:33 +0100
> The route initialization function does not return any value to notify if
> the initialization is successful or not. This patch checks all calls made
> for the initilization in order to return a value for the caller.
>
> Unfortunatly, proc_net_fops_create will return a NULL pointer if CONFIG_PROC_FS
> is off, so we can not check the return code without an ifdef CONFIG_PROC_FS
> block in the ip6_route_init function.
>
> Signed-off-by: Daniel Lezcano <dlezcano@...ibm.com>
> Acked-by: Benjamin Thery <benjamin.thery@...l.net>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists