Skip to contentSkip to conversation

cosmetic update to ip6t_ipv6header

PATCH Applied Harald Welte 2 participants 2 messages Oct 2, 2003 – Oct 3, 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
@@ -126,18 +126,11 @@
 	return 1;
 }
 
-static void
-ipv6header_destroy(void *matchinfo,
-		   unsigned int matchinfosize)
-{
-	return;
-}
-
 static struct ip6t_match ip6t_ipv6header_match = {
 	.name		= "ipv6header",
 	.match		= &ipv6header_match,
 	.checkentry	= &ipv6header_checkentry,
-	.destroy	= &ipv6header_destroy,
+	.destroy	= NULL,
 	.me		= THIS_MODULE,
 };
 
#1 lore raw
Quoted 1 line · On Thu, 2 Oct 2003 18:22:37 +0200 Harald Welte <[email protected]> wrote:

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

Applied, thanks.