diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 09:35:55 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 10:25:43 +0100 |
commit | 63395b65972c07edce595c9cc8a983016738cdac (patch) | |
tree | 4ba406874098df734119d282ba634337c7541ba2 /kernel/relay.c | |
parent | sysctl: Warn about all uses of sys_sysctl. (diff) | |
download | linux-63395b65972c07edce595c9cc8a983016738cdac.tar.xz linux-63395b65972c07edce595c9cc8a983016738cdac.zip |
sysctl: sysctl_binary.c Fix compilation when !CONFIG_NET
dev_get_by_index does not exist when the network stack is not
compiled in, so only include the code to follow wild card paths
when the network stack is present.
I have shuffled the code around a little to make it clear
that dev_put is called after dev_get_by_index showing that
there is no leak.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions