]> git.baikalelectronics.ru Git - kernel.git/commit
proc: clean the ip_misc_proc_init and ip_proc_init_net error paths
authorPavel Emelyanov <xemul@openvz.org>
Fri, 18 Jul 2008 11:06:50 +0000 (04:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 11:06:50 +0000 (04:06 -0700)
commit93ddf92602f54b6c14a5f4d192ba40a85fadd0da
tree286bd367b687f9a1daddcc6b0fde2f2e8ef4c0ef
parentef476586f5438e7d634708b254aa831c2898d483
proc: clean the ip_misc_proc_init and ip_proc_init_net error paths

After all this stuff is moved outside, this function can look better.

Besides, I tuned the error path in ip_proc_init_net to make it have
only 2 exit points, not 3.

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