From: Eric W. Biederman Date: Thu, 12 Nov 2009 08:35:55 +0000 (-0800) Subject: sysctl: sysctl_binary.c Fix compilation when !CONFIG_NET X-Git-Tag: v2.6.33-rc1~392^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63395b65972c07edce595c9cc8a983016738cdac;p=pandora-kernel.git 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 --- Reading git-diff-tree failed