All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] patch-o-matic-ng snap 20060329 some fix
@ 2006-03-29 15:59 "Wojciech \"Sas\" Cięciwa"
  2006-03-29 16:36 ` Krzysztof Oledzki
  0 siblings, 1 reply; 3+ messages in thread
From: "Wojciech \"Sas\" Cięciwa" @ 2006-03-29 15:59 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

I try to add this snap to kernel 2.6.16.1, and got 3 error in module:
fuzzy, nth and random.

In attachment ane patches, pleas check and applay if this is correct.

Thanx.
	Wojtek.
  --
{Wojciech 'Sas' Cieciwa} {Member of PLD Team}
{   e-mail: cieciwa@alpha.zarz.agh.edu.pl   }

[-- Attachment #2: random-ipv6.patch --]
[-- Type: text/plain, Size: 720 bytes --]

diff -Nur patch-o-matic-ng/patchlets/random.org/linux-2.6/net/ipv6/netfilter/ip6t_random.c patch-o-matic-ng/patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c
--- patch-o-matic-ng/patchlets/random.org/linux-2.6/net/ipv6/netfilter/ip6t_random.c	2006-03-29 08:41:00.000000000 +0200
+++ patch-o-matic-ng/patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c	2006-03-29 17:52:00.000000000 +0200
@@ -70,12 +70,10 @@
 }
 
 static struct ip6t_match ip6t_rand_reg = { 
-	{NULL, NULL},
-	"random",
-	ip6t_rand_match,
-	ip6t_rand_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name 		= "random",
+	.match		= ip6t_rand_match,
+	.checkentry	= ip6t_rand_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {

[-- Attachment #3: fuzzy-ipv6.patch --]
[-- Type: text/plain, Size: 727 bytes --]

diff -Nur patch-o-matic-ng/patchlets/fuzzy.org/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c patch-o-matic-ng/patchlets/fuzzy/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c
--- patch-o-matic-ng/patchlets/fuzzy.org/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c	2006-03-29 08:41:02.000000000 +0200
+++ patch-o-matic-ng/patchlets/fuzzy/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c	2006-03-29 17:43:43.000000000 +0200
@@ -164,12 +164,10 @@
 }
 
 static struct ip6t_match ip6t_fuzzy_reg = {
-	{NULL, NULL},
-	"fuzzy",
-	ip6t_fuzzy_match,
-	ip6t_fuzzy_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name		= "fuzzy",
+	.match		= ip6t_fuzzy_match,
+	.checkentry	= ip6t_fuzzy_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {

[-- Attachment #4: nth-ipv6.patch --]
[-- Type: text/plain, Size: 698 bytes --]

diff -Nur patch-o-matic-ng/patchlets/nth.org/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c patch-o-matic-ng/patchlets/nth/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c
--- patch-o-matic-ng/patchlets/nth.org/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c	2006-03-29 08:40:55.000000000 +0200
+++ patch-o-matic-ng/patchlets/nth/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c	2006-03-29 17:50:12.000000000 +0200
@@ -140,12 +140,10 @@
 }
 
 static struct ip6t_match ip6t_nth_reg = { 
-	{NULL, NULL},
-	"nth",
-	ip6t_nth_match,
-	ip6t_nth_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name		= "nth",
+	.match		= ip6t_nth_match,
+	.checkentry	= ip6t_nth_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] patch-o-matic-ng snap 20060329 some fix
  2006-03-29 15:59 [PATCH] patch-o-matic-ng snap 20060329 some fix "Wojciech \"Sas\" Cięciwa"
@ 2006-03-29 16:36 ` Krzysztof Oledzki
  2006-03-29 16:55   ` Krzysztof Oledzki
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Oledzki @ 2006-03-29 16:36 UTC (permalink / raw)
  To: "Wojciech \"Sas\" Cięciwa"; +Cc: netfilter-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1273 bytes --]



On Wed, 29 Mar 2006, "Wojciech \"Sas\" Cięciwa" wrote:

> I try to add this snap to kernel 2.6.16.1, and got 3 error in module:
> fuzzy, nth and random.
>
> In attachment ane patches, pleas check and applay if this is correct.

The fuzzy extension does not work:
unable to find ladd slot in src /tmp/pom-1272/net/ipv6/netfilter/Makefile (./patchlets/fuzzy/linux-2.6.10/./net/ipv6/netfilter/Makefile.ladd)

The problem is that the ip6t_mac.o is no longer in in 
net/ipv6/netfilter/Makefile as it was converted to the x_tables.

It would be grate if you also fix the warnings:
   CC      net/ipv4/netfilter/ipt_nth.o
net/ipv4/netfilter/ipt_nth.c:144: warning: initialization from incompatible pointer type
net/ipv4/netfilter/ipt_nth.c:145: warning: initialization from incompatible pointer type

   CC      net/ipv6/netfilter/ip6t_nth.o
net/ipv6/netfilter/ip6t_nth.c:145: warning: initialization from incompatible pointer type

   CC      net/ipv6/netfilter/ip6t_random.o
net/ipv6/netfilter/ip6t_random.c:75: warning: initialization from incompatible pointer type

Finally you may also consider cleaning patched extensions from files for 
old 2.6 kernels and keep only patchlets/*/linux-2.6 directories.

Best regards,

 				Krzysztof Olędzki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] patch-o-matic-ng snap 20060329 some fix
  2006-03-29 16:36 ` Krzysztof Oledzki
@ 2006-03-29 16:55   ` Krzysztof Oledzki
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Oledzki @ 2006-03-29 16:55 UTC (permalink / raw)
  To: "Wojciech \"Sas\" Cięciwa"; +Cc: netfilter-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 424 bytes --]



On Wed, 29 Mar 2006, Krzysztof Oledzki wrote:

>
>
> On Wed, 29 Mar 2006, "Wojciech \"Sas\" Cięciwa" wrote:
>
>> I try to add this snap to kernel 2.6.16.1, and got 3 error in module:
>> fuzzy, nth and random.

Ah, one more comment - current svn version of pom-ng already have the nth 
and random compilation problem fixed, but mentioned warnings are still 
there. ;)

Best regards,

 				Krzysztof Olędzki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-29 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 15:59 [PATCH] patch-o-matic-ng snap 20060329 some fix "Wojciech \"Sas\" Cięciwa"
2006-03-29 16:36 ` Krzysztof Oledzki
2006-03-29 16:55   ` Krzysztof Oledzki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.