[PATCH] ip6t_REJECT on ppc

Phil Oester kernel at linuxace.com
Tue Sep 21 00:32:47 CEST 2004


As noted by Pavel Sikora, PPC platform has no optimized version of
csum_ipv6_magic.  As such, ip6t_REJECT does not build on that
platform without including the generic version.  The patch below
does this.

Compile tested on i386 - Pavel tested the patch below on PPC.

This fixes bugzilla #226.

Phil


-------------- next part --------------
diff -ru pom-orig/REJECT/linux-2.6/net/ipv6/netfilter/ip6t_REJECT.c pom-new/REJECT/linux-2.6/net/ipv6/netfilter/ip6t_REJECT.c
--- pom-orig/REJECT/linux-2.6/net/ipv6/netfilter/ip6t_REJECT.c	2004-03-26 00:39:33.000000000 -0800
+++ pom-new/REJECT/linux-2.6/net/ipv6/netfilter/ip6t_REJECT.c	2004-09-20 15:27:22.070527392 -0700
@@ -22,6 +22,7 @@
 #include <net/ipv6.h>
 #include <net/tcp.h>
 #include <net/icmp.h>
+#include <net/ip6_checksum.h>
 #include <net/ip6_fib.h>
 #include <net/ip6_route.h>
 #include <net/flow.h>


More information about the netfilter-devel mailing list