Skip to contentSkip to conversation

ip6t_REJECT on ppc

PATCH New Phil Oester 1 participant 1 message Sep 20, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip6t_REJECT on ppc

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

REJECT/linux-2.6/net/ipv6/netfilter/ip6t_REJECT.c +1 -0
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
@@ -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>