diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-19 13:42:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-20 21:22:30 -0400 |
commit | 8607ddb86711df4504a028cc88299d334b786bf3 (patch) | |
tree | fd00eeef53049f1ae1928ba9b06253ab343b3c77 /net/ipv4/netfilter | |
parent | 6105e29320f662bf2f2358e2b2ff1bbf599f387f (diff) | |
download | blackbird-obmc-linux-8607ddb86711df4504a028cc88299d334b786bf3.tar.gz blackbird-obmc-linux-8607ddb86711df4504a028cc88299d334b786bf3.zip |
net ipv4: Convert devinet to use register_net_sysctl
Using an ascii path to register_net_sysctl as opposed to the slightly
awkward ctl_path allows for much simpler code.
We no longer need to malloc dev_name to keep it alive the length of our
sysctl register instead we can use a small temporary buffer on the
stack.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter')
0 files changed, 0 insertions, 0 deletions