summary refs log tree commit diff
path: root/net/netlabel
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-11-05 16:44:06 -0800
committerDavid S. Miller <davem@davemloft.net>2006-11-05 16:44:06 -0800
commit38c94377a36f70e86665231c9f477e445c806618 (patch)
tree92beb31d6790a434b1965ca99e4fd2903a4da4f2 /net/netlabel
parentdaccff024ffeb21caa2cc479ccc33b2ec50705b1 (diff)
downloadlinux-38c94377a36f70e86665231c9f477e445c806618.tar.gz
[NETLABEL]: Fix build failure.
> the build with the attached .config failed, make ends with:
> ...
> : undefined reference to `cipso_v4_sock_getattr'
> net/built-in.o: In function `netlbl_socket_getattr':

 ...

It looks like I was stupid and made NetLabel depend on CONFIG_NET and not
CONFIG_INET, the patch below should fix this by making NetLabel depend on
CONFIG_INET and CONFIG_SECURITY.  Please review and apply for 2.6.19.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
-rw-r--r--net/netlabel/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/Kconfig b/net/netlabel/Kconfig
index 9f7121ae13e9..56958c85f2b4 100644
--- a/net/netlabel/Kconfig
+++ b/net/netlabel/Kconfig
@@ -4,7 +4,7 @@
 
 config NETLABEL
 	bool "NetLabel subsystem support"
-	depends on NET && SECURITY
+	depends on SECURITY
 	default n
 	---help---
 	  NetLabel provides support for explicit network packet labeling