net ipv4: Decouple ipv4 interface parameters from binary sysctl numbers
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 14 Feb 2010 03:25:51 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 23:55:17 +0000 (15:55 -0800)
commit02291680ffba92e5b5865bc0c5e7d1f3056b80ec
treefde485582de465b211cc907710a23ef8ca84408e
parent9e3f8063a72a946f2ba29068b34190436573dffe
net ipv4: Decouple ipv4 interface parameters from binary sysctl numbers

Stop using the binary sysctl enumeartion in sysctl.h as an index into
a per interface array.  This leads to unnecessary binary sysctl number
allocation, and a fragility in data structure and implementation
because of unnecessary coupling.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
include/linux/sysctl.h
net/ipv4/devinet.c