]> err.no Git - linux-2.6/commitdiff
net: xfrm statistics depend on INET
authorPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 22:48:45 +0000 (14:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2008 22:48:45 +0000 (14:48 -0800)
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>
net/xfrm/Kconfig

index 8f9dbec319be471688fdc78a4cea4815809406ba..9201ef8ad90eb2143a652b769ee4215e54eaa72c 100644 (file)
@@ -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