[INET]: Merge sys.net.ipv4.ip_forward and sys.net.ipv4.conf.all.forwarding
authorPavel Emelyanov <xemul@openvz.org>
Wed, 5 Dec 2007 09:44:58 +0000 (01:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:31 +0000 (14:56 -0800)
commit68dd299bc84dede6aef32e6f4777a676314f5d21
tree665132d14a68b3d5676b3fc87424c8be79c28487
parent4d43b78ac27ca50fe42718192ac7c80474417389
[INET]: Merge sys.net.ipv4.ip_forward and sys.net.ipv4.conf.all.forwarding

AFAIS these two entries should do the same thing - change the
forwarding state on ipv4_devconf and on all the devices.

I propose to merge the handlers together using ctl paths.

The inet_forward_change() is static after this and I move
it higher to be closer to other "propagation" helpers and
to avoid diff making patches based on { and } matching :)
i.e. - make them easier to read.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
net/ipv4/devinet.c
net/ipv4/sysctl_net_ipv4.c