[IPV4]: Make __devinet_sysctl_register return an error
authorPavel Emelyanov <xemul@openvz.org>
Sun, 16 Dec 2007 21:30:07 +0000 (13:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:09 +0000 (14:58 -0800)
Currently, this function is void, so failures in creating
sysctls for new/renamed devices are not reported to anywhere.

Fixing this is another complex (needed?) task, but this
return value is needed during the namespaces creation to
handle the case, when we failed to create "all" and "default"
entries.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found