All of lore.kernel.org
 help / color / mirror / Atom feed
* [POM-NG 10/10] Fix the unclean extension for 2.6.16 kernels
@ 2006-03-27 12:21 Krzysztof Oledzki
  2006-03-29  8:53 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Oledzki @ 2006-03-27 12:21 UTC (permalink / raw)
  To: netfilter-devel

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

[POM-NG 10/10] Fix the unclean extension for 2.6.16 kernels

This patch allows the unclean extension to be used with 2.6.16 kernels

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>

diff -Nur patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd
--- patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd	2005-01-22 00:33:54.000000000 +0100
+++ patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd	2006-03-12 02:27:40.000000000 +0100
@@ -1,2 +1,2 @@
-obj-$(CONFIG_IP_NF_MATCH_LENGTH) += ipt_length.o
+obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o
  obj-$(CONFIG_IP_NF_MATCH_UNCLEAN) += ipt_unclean.o
diff -Nur patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c
--- patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c	2005-01-22 00:33:54.000000000 +0100
+++ patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c	2006-03-21 23:46:30.000000000 +0100
@@ -570,6 +570,7 @@
        const struct net_device *out,
        const void *matchinfo,
        int offset,
+      unsigned int protoff,
        int *hotdrop)
  {
  	return !check_ip(skb, 0);
@@ -578,7 +579,7 @@
  /* Called when user tries to insert an entry of this type. */
  static int
  checkentry(const char *tablename,
-	   const struct ipt_ip *ip,
+	   const void *ip,
  	   void *matchinfo,
  	   unsigned int matchsize,
  	   unsigned int hook_mask)

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1731 bytes --]

[POM-NG 10/10] Fix the unclean extension for 2.6.16 kernels

This patch allows the unclean extension to be used with 2.6.16 kernels

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>

diff -Nur patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd
--- patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd	2005-01-22 00:33:54.000000000 +0100
+++ patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/Makefile.ladd	2006-03-12 02:27:40.000000000 +0100
@@ -1,2 +1,2 @@
-obj-$(CONFIG_IP_NF_MATCH_LENGTH) += ipt_length.o
+obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o
 obj-$(CONFIG_IP_NF_MATCH_UNCLEAN) += ipt_unclean.o
diff -Nur patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c
--- patch-o-matic-ng-20060311-orig/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c	2005-01-22 00:33:54.000000000 +0100
+++ patch-o-matic-ng-20060311/patchlets/unclean/linux-2.6/net/ipv4/netfilter/ipt_unclean.c	2006-03-21 23:46:30.000000000 +0100
@@ -570,6 +570,7 @@
       const struct net_device *out,
       const void *matchinfo,
       int offset,
+      unsigned int protoff,
       int *hotdrop)
 {
 	return !check_ip(skb, 0);
@@ -578,7 +579,7 @@
 /* Called when user tries to insert an entry of this type. */
 static int
 checkentry(const char *tablename,
-	   const struct ipt_ip *ip,
+	   const void *ip,
 	   void *matchinfo,
 	   unsigned int matchsize,
 	   unsigned int hook_mask)

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-27 12:21 [POM-NG 10/10] Fix the unclean extension for 2.6.16 kernels Krzysztof Oledzki
2006-03-29  8:53 ` Patrick McHardy
2006-03-29 10:29   ` Krzysztof Oledzki
2006-03-29 12:27     ` Patrick McHardy

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.