summaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorShan Wei <davidshan@tencent.com>2012-04-18 18:05:46 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-19 00:11:39 -0400
commit7426a5645f3d18daec1f7d6a24b529ec7286b800 (patch)
tree77abfbb9413d9e18a7592fd5890f76c7189dc9d6 /net/ipv4/route.c
parent59e26eff48745287d648ed4606fe2cc66a75991f (diff)
downloadlinux-stable-7426a5645f3d18daec1f7d6a24b529ec7286b800.tar.gz
linux-stable-7426a5645f3d18daec1f7d6a24b529ec7286b800.tar.bz2
linux-stable-7426a5645f3d18daec1f7d6a24b529ec7286b800.zip
net: fix compile error of leaking kmemleak.h header
net/core/sysctl_net_core.c: In function ‘sysctl_core_init’: net/core/sysctl_net_core.c:259: error: implicit declaration of function ‘kmemleak_not_leak’ with same error in net/ipv4/route.c Signed-off-by: Shan Wei <davidshan@tencent.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index bcd4744e0e4e..a1c115d750e9 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -109,6 +109,7 @@
#include <net/rtnetlink.h>
#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
+#include <linux/kmemleak.h>
#endif
#include <net/secure_seq.h>