All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4] cosmetic update to ip6t_ipv6header
@ 2003-10-02 16:24 Harald Welte
  2003-10-03  6:36 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Welte @ 2003-10-02 16:24 UTC (permalink / raw)
  To: David Miller; +Cc: Netfilter Development Mailinglist


[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]

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
-- 
- Harald Welte <laforge@netfilter.org>             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

[-- Attachment #1.2: 66_ipv6header.patch --]
[-- Type: text/plain, Size: 621 bytes --]

diff -u linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c linux/net/ipv6/netfilter/ip6t_ipv6header.c
--- linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c	2003-07-27 19:12:09.000000000 +0200
+++ linux/net/ipv6/netfilter/ip6t_ipv6header.c	2003-09-02 00:19:01.295173544 +0200
@@ -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
 };
 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH 2.4] cosmetic update to ip6t_ipv6header
  2003-10-02 16:24 [PATCH 2.4] cosmetic update to ip6t_ipv6header Harald Welte
@ 2003-10-03  6:36 ` David S. Miller
  2003-10-13 18:20   ` [PATCH 2.4 correct] " Martin Josefsson
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2003-10-03  6:36 UTC (permalink / raw)
  To: Harald Welte; +Cc: netfilter-devel

On Thu, 2 Oct 2003 18:24:56 +0200
Harald Welte <laforge@netfilter.org> 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.

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

* [PATCH 2.4 correct] cosmetic update to ip6t_ipv6header
  2003-10-03  6:36 ` David S. Miller
@ 2003-10-13 18:20   ` Martin Josefsson
  2003-10-13 19:39     ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Josefsson @ 2003-10-13 18:20 UTC (permalink / raw)
  To: David S. Miller; +Cc: Harald Welte, Netfilter-devel


[-- Attachment #1.1: Type: text/plain, Size: 596 bytes --]

On Fri, 2003-10-03 at 08:36, David S. Miller wrote:
> On Thu, 2 Oct 2003 18:24:56 +0200
> Harald Welte <laforge@netfilter.org> 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

-- 
/Martin

[-- Attachment #1.2: 85_ipv6header.patch --]
[-- Type: text/x-patch, Size: 621 bytes --]

diff -u linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c linux/net/ipv6/netfilter/ip6t_ipv6header.c
--- linux.orig/net/ipv6/netfilter/ip6t_ipv6header.c	2003-07-27 19:12:09.000000000 +0200
+++ linux/net/ipv6/netfilter/ip6t_ipv6header.c	2003-09-02 00:19:01.295173544 +0200
@@ -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
 };
 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH 2.4 correct] cosmetic update to ip6t_ipv6header
  2003-10-13 18:20   ` [PATCH 2.4 correct] " Martin Josefsson
@ 2003-10-13 19:39     ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2003-10-13 19:39 UTC (permalink / raw)
  To: Martin Josefsson; +Cc: laforge, netfilter-devel

On Mon, 13 Oct 2003 20:20:52 +0200
Martin Josefsson <gandalf@netfilter.org> wrote:

> 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.

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

end of thread, other threads:[~2003-10-13 19:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 16:24 [PATCH 2.4] cosmetic update to ip6t_ipv6header Harald Welte
2003-10-03  6:36 ` David S. Miller
2003-10-13 18:20   ` [PATCH 2.4 correct] " Martin Josefsson
2003-10-13 19:39     ` David S. Miller

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.