[PATCH] NET_CLS_RSVP6 should depend on IPV6

Gabriel C
2007-07-14T10:39:27Z

Hello,

cls_rsvp6 only works with IPV6 enabled kernels and IMO it should depends
on IPV6.

Signed-off-by: Gabriel Craciunescu <nix.or.die@googlemail.com>

---

net/sched/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/sched/Kconfig b/net/sched/Kconfig
index b466288..200976e 100644
--- a/net/sched/Kconfig
+++ b/net/sched/Kconfig
@@ -299,6 +299,7 @@ config NET_CLS_RSVP

config NET_CLS_RSVP6
tristate "IPv6 Resource Reservation Protocol (RSVP6)"
+ depends on IPV6
select NET_CLS
---help---
The Resource Reservation Protocol (RSVP) permits end systems to
@@ -306,7 +307,7 @@ config NET_CLS_RSVP6
is important for real time data such as streaming sound or video.

Say Y here if you want to be able to classify outgoing packets
based
- on their RSVP requests and you are using the IPv6.
+ on their RSVP requests and you are using the IPv6 protocol.

To compile this code as a module, choose M here: the
module will be called cls_rsvp6.