Skip to content

Commit

Permalink
[NETLABEL]: Fix build failure.
Browse files Browse the repository at this point in the history
> 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>
  • Loading branch information
Paul Moore authored and David S. Miller committed Nov 6, 2006
1 parent daccff0 commit 38c9437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ config INET
if INET
source "net/ipv4/Kconfig"
source "net/ipv6/Kconfig"
source "net/netlabel/Kconfig"

endif # if INET

Expand Down Expand Up @@ -249,8 +250,6 @@ source "net/ieee80211/Kconfig"
config WIRELESS_EXT
bool

source "net/netlabel/Kconfig"

config FIB_RULES
bool

Expand Down
2 changes: 1 addition & 1 deletion net/netlabel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38c9437

Please sign in to comment.