ipv4: Use math to point per net sysctls into the appropriate struct net.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 19 Oct 2013 23:27:03 +0000 (16:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 22:43:02 +0000 (18:43 -0400)
Simplify maintenance of ipv4_net_table by using math to point the per
net sysctls into the appropriate struct net, instead of manually
reassinging all of the variables into hard coded table slots.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found