[-mm patch] CKRM_TYPE_SOCKETCLASS must depend on INET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CKRM_TYPE_SOCKETCLASS=y, NET=n, INET=n results in the following link 
error:

<--  snip  -->

...
  LD      .tmp_vmlinux1
kernel/built-in.o: In function `cb_sockclass_listen_stop':
ckrm_sockc.c:(.text+0x27e2b): undefined reference to `sk_free'
kernel/built-in.o: In function `ckrm_sock_forced_reclassify_ns':
ckrm_sockc.c:(.text+0x280d5): undefined reference to 
`tcp_v4_lookup_listener'
ckrm_sockc.c:(.text+0x280e4): undefined reference to `lock_sock'
ckrm_sockc.c:(.text+0x28134): undefined reference to `release_sock'
ckrm_sockc.c:(.text+0x28154): undefined reference to `sk_free'
kernel/built-in.o: In function `ckrm_sock_reclassify_class':
ckrm_sockc.c:(.text+0x2851e): undefined reference to `lock_sock'
ckrm_sockc.c:(.text+0x2853b): undefined reference to `release_sock'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.13-rc3-mm1-full/init/Kconfig.old	2005-07-17 21:45:25.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/init/Kconfig	2005-07-17 21:46:03.000000000 +0200
@@ -184,7 +184,7 @@
 
 config CKRM_TYPE_SOCKETCLASS
 	bool "Class Manager for socket groups"
-	depends on CKRM && RCFS_FS
+	depends on INET && CKRM && RCFS_FS
 	default y
 	help
 	  SOCKET provides the extensions for CKRM to track per socket

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux