Skip to contentSkip to conversation

cosmetic update to ip6t_ipv6header

PATCH In review Harald Welte 3 participants 4 messages Oct 2, 2003 – Oct 13, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cosmetic update to ip6t_ipv6header

Hi Davem!

Please apply the following patch to your 2.6 tree, thanks.

Author: Maciej Soltysiak
Status: Trivial

This patch removes unused destroy callback in ip6t_ipv6header.c

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
net/ipv6/netfilter/ip6t_ipv6header.c +1 -8
diff -u linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c linux/net/ipv6/netfilter/ip6t_ipv6header.c
@@ -129,20 +129,13 @@
 	return 1;
 }
 
-static void
-ipv6header_destroy(void *matchinfo,
-		   unsigned int matchinfosize)
-{
-	return;
-}
-
 static struct ip6t_match
 ip6t_ipv6header_match = {
 	{ NULL, NULL },
 	"ipv6header",
 	&ipv6header_match,
 	&ipv6header_checkentry,
-	&ipv6header_destroy,
+	NULL,
 	THIS_MODULE
 };
 
#1 lore raw
Quoted 1 line · On Thu, 2 Oct 2003 18:24:56 +0200 Harald Welte <[email protected]> wrote:

Please apply the following patch to your 2.6 tree, thanks.

Mass confusion... the subject says 2.4, here you're saying 2.6..

Because you sent me the 2.6.x variant of this patch already I tried to put it into 2.4.x but that got rejects.

#2 lore raw

PATCH 1/1 cosmetic update to ip6t_ipv6header

Quoted 10 lines · David S. Miller
Quoted 1 line · On Thu, 2 Oct 2003 18:24:56 +0200 Harald Welte <[email protected]> wrote:

Please apply the following patch to your 2.6 tree, thanks.

Mass confusion... the subject says 2.4, here you're saying 2.6..

Because you sent me the 2.6.x variant of this patch already I tried to put it into 2.4.x but that got rejects.

Here's the correct 2.4 version.
Found to be missing when syncing patch-o-matic.

Author: Maciej Soltysiak

This patch removes unused destroy callback in ip6t_ipv6header.c

Signature · 1 line
/Martin
net/ipv6/netfilter/ip6t_ipv6header.c +1 -8
diff -u linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c linux/net/ipv6/netfilter/ip6t_ipv6header.c
@@ -129,20 +129,13 @@
 	return 1;
 }
 
-static void
-ipv6header_destroy(void *matchinfo,
-		   unsigned int matchinfosize)
-{
-	return;
-}
-
 static struct ip6t_match
 ip6t_ipv6header_match = {
 	{ NULL, NULL },
 	"ipv6header",
 	&ipv6header_match,
 	&ipv6header_checkentry,
-	&ipv6header_destroy,
+	NULL,
 	THIS_MODULE
 };
 
#3 lore raw
Quoted 6 lines · On Mon, 13 Oct 2003 20:20:52 +0200 Martin Josefsson <[email protected]>…

Here's the correct 2.4 version.
Found to be missing when syncing patch-o-matic.

Author: Maciej Soltysiak

This patch removes unused destroy callback in ip6t_ipv6header.c

Applied, thanks.