net, ipvs: fix build on !CONFIG_INET

Message ID
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Ingo Molnar Oct. 12, 2008, 10:53 a.m.
quick fixlet below - please double-check.

From 04f0c230107f2bdc9d0eaf7bdae9490eb3675791 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <>
Date: Sun, 12 Oct 2008 12:51:28 +0200
Subject: [PATCH] net, ipvs: fix build on !CONFIG_INET


  net/netfilter/ipvs/ip_vs_xmit.c: In function 'ip_vs_tunnel_xmit':
  net/netfilter/ipvs/ip_vs_xmit.c:616: error: implicit declaration of function 'ip_select_ident'

ip_vs_xmit depends on CONFIG_INET capabilities.

Signed-off-by: Ingo Molnar <>
 net/netfilter/ipvs/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at


diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
index de6004d..a67a235 100644
--- a/net/netfilter/ipvs/Kconfig
+++ b/net/netfilter/ipvs/Kconfig
@@ -4,6 +4,7 @@ 
 menuconfig IP_VS
 	tristate "IP virtual server support (EXPERIMENTAL)"
 	depends on NETFILTER
+	depends on INET
 	  IP Virtual Server support will let you build a high-performance
 	  virtual server based on cluster of two or more real servers. This