TEE: do not use ipv6 if CONFIG_IPV6=n
PATCH 1/1 TEE: do not use ipv6 if CONFIG_IPV6=n
WARNING: xt_TEE.ko needs unknown symbol ip6_route_output
Signed-off-by Florian Westphal <[email protected]>
--- extensions/xt_TEE.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
extensions/xt_TEE.c +4 -0
@@ -210,6 +210,7 @@ tee_tg4(struct sk_buff **pskb, const struct xt_target_param *par)return XT_CONTINUE ; } +#if defined(CONFIG_IPV6 ) || defined(CONFIG_IPV6_MODULE )static bool tee_tg_route6 (struct sk_buff *skb,const struct xt_tee_tginfo *info) {
@@ -263,6 +264,7 @@ tee_tg6(struct sk_buff **pskb, const struct xt_target_param *par) return XT_CONTINUE; } +#endif static bool tee_tg_check (const struct xt_tgchk_param *par) {
@@ -284,6 +286,7 @@ static struct xt_target tee_tg_reg[] __read_mostly = { .checkentry = tee_tg_check, .me = THIS_MODULE, }, +#if defined(CONFIG_IPV6 ) || defined(CONFIG_IPV6_MODULE ) { .name = "TEE", .revision = 0,
@@ -294,6 +297,7 @@ static struct xt_target tee_tg_reg[] __read_mostly = { .checkentry = tee_tg_check, .me = THIS_MODULE, }, +#endif };static int __init tee_tg_init (void )
Signature · 1 line
1.5.6.5
Quoted 1 line · Florian Westphal
WARNING: xt_TEE.ko needs unknown symbol
ip6_route_output
Applied now, thanks.