aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-05-15 13:43:14 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-15 13:43:14 -0400
commitfcd77db07dd2b8d35e0db0d1209f2ce1bb05531e (patch)
treee4757dc8c64bde1db4a19dd8daa81d8f931d0d27 /include/net/ip.h
parentMerge branch 'cpsw_cleanups' (diff)
downloadlinux-dev-fcd77db07dd2b8d35e0db0d1209f2ce1bb05531e.tar.xz
linux-dev-fcd77db07dd2b8d35e0db0d1209f2ce1bb05531e.zip
net: Fix CONFIG_SYSCTL ifdef test.
> include/net/ip.h:211:5: warning: "CONFIG_SYSCTL" is not defined [-Wundef] > #if CONFIG_SYSCTL > ^ Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 512bcd5dabac..2e4947895d75 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -208,7 +208,7 @@ static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_o
void inet_get_local_port_range(struct net *net, int *low, int *high);
-#if CONFIG_SYSCTL
+#ifdef CONFIG_SYSCTL
static inline int inet_is_local_reserved_port(struct net *net, int port)
{
if (!net->ipv4.sysctl_local_reserved_ports)