]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commitea40b324d791d86a42b858d073007de4d133227e
tree0fa2465408c90f18afafecef1ed9565f77ef3496
parent8afd351c772d1815347d5c46716b099fde00a579
[IPV4]: Make __devinet_sysctl_register return an error

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>
net/ipv4/devinet.c