[PATCH] ip6tables SMP alignment bugfix

2002-02-25 Thread Harald Welte
Hi Dave! Below is a patch by Andreas Herrmann, which fixes a bug in the usage of the SMP_ALIGN macro in ip6tables - only becomming visible on SMP systems. Please apply, thanks. --- linux-2.4.17-plain/net/ipv6/netfilter/ip6_tables.c~ Wed Oct 31 00:08:12 2001 +++ linux-2.4.17-plainnet/ipv6/n

Re: patch: ip6tables

2002-02-25 Thread Harald Welte
On Thu, Feb 21, 2002 at 05:16:17PM +0100, Andreas Herrmann wrote: > Hi, > > I encountered another problem with ip6tables. > I run into an assertion using ip6tables: > (version 1.2.5 of iptables package) [...] Thanks for fixing this bug as well. As you may have already noticed, the ip6tables sy

Re: patch: ip6tables

2002-02-21 Thread Andras Kis-Szabo
On Thu, 2002-02-21 at 17:16, Andreas Herrmann wrote: Hi, > --- include/libiptc/libip6tc.h~Fri Jan 5 16:22:37 2001 > +++ include/libiptc/libip6tc.h Wed Feb 20 17:49:54 2002 > @@ -6,7 +6,7 @@ > #include > > #ifndef IP6T_MIN_ALIGN > -#define IP6T_MIN_ALIGN (__alignof__(struct ip6t_entr

patch: ip6tables

2002-02-21 Thread Andreas Herrmann
Hi, I encountered another problem with ip6tables. I run into an assertion using ip6tables: (version 1.2.5 of iptables package) ip6tables: libiptc/libip6tc.c:364: do_check: Assertion `t->target.u.target_size == (((sizeof(*t)) + ((__alignof__(struct ip6t_entry_match))-1)) & ~((__alignof__(struct i