2007-09-06 20:46:11

by Bernhard Walle

[permalink] [raw]
Subject: [PATCH] Fix config requirements of IPv6

[PATCH] Fix config requirements of IPv6

net/ipv6/inet6_connection_sock.c in function __inet6_csk_dst_store() requires
flow_cache_genid which is defined in net/core/flow.c which is compiled when
CONFIG_XFRM is set.

This patch expresses that dependency.


Signed-off-by: Bernhard Walle <[email protected]>

---
net/ipv6/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -5,6 +5,7 @@
# IPv6 as module will cause a CRASH if you try to unload it
config IPV6
tristate "The IPv6 protocol"
+ select XFRM
default m
---help---
This is complemental support for the IP version 6.


2007-09-06 20:49:59

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] Fix config requirements of IPv6

From: Bernhard Walle <[email protected]>
Date: Thu, 6 Sep 2007 22:01:52 +0200

> [PATCH] Fix config requirements of IPv6
>
> net/ipv6/inet6_connection_sock.c in function __inet6_csk_dst_store() requires
> flow_cache_genid which is defined in net/core/flow.c which is compiled when
> CONFIG_XFRM is set.
>
> This patch expresses that dependency.
>
>
> Signed-off-by: Bernhard Walle <[email protected]>

IPV6 should not require XFRM, a proper fix for this issue
was added to the net-2.6.24 tree earlier today already.