[IPV6]: Eliminate difference in actions of sysctl and proc handler for conf.all.forwa...
authorPavel Emelyanov <xemul@openvz.org>
Wed, 5 Dec 2007 09:50:24 +0000 (01:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:32 +0000 (14:56 -0800)
commitc8fecf2242a0ab7230210665986b8ef915e1ae9e
treeb8255d6a621cc64042a22f1edd9019aba1914d9f
parent68dd299bc84dede6aef32e6f4777a676314f5d21
[IPV6]: Eliminate difference in actions of sysctl and proc handler for conf.all.forwarding

The only difference in this case is that updating all.forwarding
causes the update in default.forwarding when done via proc, but
not via the system call.

Besides, this consolidates a good portion of code.

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