netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] networking: NET_CLS_ROUTE4 depends on INET
@ 2011-05-19 23:22 Randy Dunlap
  2011-05-19 23:23 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-05-19 23:22 UTC (permalink / raw)
  To: netdev; +Cc: davem, Jamal Hadi Salim

From: Randy Dunlap <randy.dunlap@oracle.com>

IP_ROUTE_CLASSID depends on INET and NET_CLS_ROUTE4 selects
IP_ROUTE_CLASSID, but when INET is not enabled, this kconfig warning
is produced, so fix it by making NET_CLS_ROUTE4 depend on INET.

warning: (NET_CLS_ROUTE4) selects IP_ROUTE_CLASSID which has unmet direct dependencies (NET && INET)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 net/sched/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-2639.orig/net/sched/Kconfig
+++ lnx-2639/net/sched/Kconfig
@@ -277,6 +277,7 @@ config NET_CLS_TCINDEX
 
 config NET_CLS_ROUTE4
 	tristate "Routing decision (ROUTE)"
+	depends on INET
 	select IP_ROUTE_CLASSID
 	select NET_CLS
 	---help---

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-19 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 23:22 [PATCH] networking: NET_CLS_ROUTE4 depends on INET Randy Dunlap
2011-05-19 23:23 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).