diff options
Diffstat (limited to 'patch-test3-pre2-sparc-ppc-align')
-rw-r--r-- | patch-test3-pre2-sparc-ppc-align | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/patch-test3-pre2-sparc-ppc-align b/patch-test3-pre2-sparc-ppc-align new file mode 100644 index 0000000..83a1b22 --- /dev/null +++ b/patch-test3-pre2-sparc-ppc-align @@ -0,0 +1,48 @@ +diff -urN -X /tmp/file5l4Euc --minimal linux-2.4.0-test3-2/include/linux/netfilter_ipv4/ip_tables.h working-2.4.0-test3-2/include/linux/netfilter_ipv4/ip_tables.h +--- linux-2.4.0-test3-2/include/linux/netfilter_ipv4/ip_tables.h Thu Jul 6 13:26:32 2000 ++++ working-2.4.0-test3-2/include/linux/netfilter_ipv4/ip_tables.h Fri Jul 7 18:42:41 2000 +@@ -280,7 +280,7 @@ + unsigned int size; + + /* The entries. */ +- unsigned char entries[0]; ++ struct ipt_entry entrytable[0]; + }; + + /* Standard return verdict, or do jump. */ +diff -urN -X /tmp/file5l4Euc --minimal linux-2.4.0-test3-2/include/linux/netfilter_ipv6/ip6_tables.h working-2.4.0-test3-2/include/linux/netfilter_ipv6/ip6_tables.h +--- linux-2.4.0-test3-2/include/linux/netfilter_ipv6/ip6_tables.h Thu May 25 12:41:49 2000 ++++ working-2.4.0-test3-2/include/linux/netfilter_ipv6/ip6_tables.h Fri Jul 7 19:08:16 2000 +@@ -286,7 +286,7 @@ + unsigned int size; + + /* The entries. */ +- unsigned char entries[0]; ++ struct ip6t_entry entrytable[0]; + }; + + /* Standard return verdict, or do jump. */ +diff -urN -X /tmp/file5l4Euc --minimal linux-2.4.0-test3-2/net/ipv4/netfilter/ip_tables.c working-2.4.0-test3-2/net/ipv4/netfilter/ip_tables.c +--- linux-2.4.0-test3-2/net/ipv4/netfilter/ip_tables.c Thu Jun 29 01:26:09 2000 ++++ working-2.4.0-test3-2/net/ipv4/netfilter/ip_tables.c Fri Jul 7 18:43:40 2000 +@@ -1029,7 +1029,7 @@ + t->private->number); + if (entries->size == t->private->size) + ret = copy_entries_to_user(t->private->size, +- t, uptr->entries); ++ t, uptr->entrytable); + else { + duprintf("get_entries: I've got %u not %u!\n", + t->private->size, +diff -urN -X /tmp/file5l4Euc --minimal linux-2.4.0-test3-2/net/ipv6/netfilter/ip6_tables.c working-2.4.0-test3-2/net/ipv6/netfilter/ip6_tables.c +--- linux-2.4.0-test3-2/net/ipv6/netfilter/ip6_tables.c Thu Jun 29 01:26:11 2000 ++++ working-2.4.0-test3-2/net/ipv6/netfilter/ip6_tables.c Fri Jul 7 19:15:15 2000 +@@ -1075,7 +1075,7 @@ + t->private->number); + if (entries->size == t->private->size) + ret = copy_entries_to_user(t->private->size, +- t, uptr->entries); ++ t, uptr->entrytable); + else { + duprintf("get_entries: I've got %u not %u!\n", + t->private->size, |