Skip to contentSkip to conversation

net: xfrm statistics depend on INET.

PATCH New Paul Mundt 1 participant 1 message Feb 14, 2008

Subsystems (2)
lore
Share & tools
lore

Paul Mundt

author
#0 lore raw

PATCH 1/1 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.

---

 net/xfrm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/xfrm/Kconfig +1 -1
index 8f9dbec..9201ef8 100644
@@ -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