summary refs log tree commit diff
path: root/net/xfrm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-02-14 14:48:45 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-14 14:48:45 -0800
commit0f4bda005fd685f7cbb2ad47b7bab1b155df2b86 (patch)
tree65184615080e70e7fe4062451a11cabf42d44e26 /net/xfrm
parentf51f5ec6909fad9ddfcaa962377f7892d7918302 (diff)
downloadlinux-0f4bda005fd685f7cbb2ad47b7bab1b155df2b86.tar.gz
net: xfrm statistics depend on INET
net/built-in.o: In function `xfrm_policy_init':
/home/pmundt/devel/git/sh-2.6.25/net/xfrm/xfrm_policy.c:2338: undefined reference to `snmp_mib_init'

snmp_mib_init() is only built in if CONFIG_INET is set.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig
index 8f9dbec319be..9201ef8ad90e 100644
--- a/net/xfrm/Kconfig
+++ b/net/xfrm/Kconfig
@@ -38,7 +38,7 @@ config XFRM_MIGRATE
 
 config XFRM_STATISTICS
 	bool "Transformation statistics (EXPERIMENTAL)"
-	depends on XFRM && PROC_FS && EXPERIMENTAL
+	depends on INET && XFRM && PROC_FS && EXPERIMENTAL
 	---help---
 	  This statistics is not a SNMP/MIB specification but shows
 	  statistics about transformation error (or almost error) factor