Home
last modified time | relevance | path

Searched hist:"8 f40a1f9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dneighbour.c8f40a1f9 Thu Apr 19 08:38:03 CDT 2012 Eric W. Biederman <ebiederm@xmission.com> net neighbour: Convert 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>
8f40a1f9 Thu Apr 19 08:38:03 CDT 2012 Eric W. Biederman <ebiederm@xmission.com> net neighbour: Convert 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>