All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Chytla <pch@packetconsulting.pl>
To: netfilter-devel@lists.netfilter.org
Subject: u32 patch
Date: Wed, 2 Aug 2006 23:22:32 +0200	[thread overview]
Message-ID: <20060802212232.GA29168@packetconsulting.pl> (raw)

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

Hi

Here are some small patch for u32 match, to work on 2.6.17 kernels . 
Matchsize in ipt_match  struct was missing. 


/pch

-- 
Dyslexia bug unpatched since 1977 ...
exploit has been leaked to the underground.

[-- Attachment #2: ipt_u32.patch --]
[-- Type: text/plain, Size: 335 bytes --]

--- ipt_u32.c	2006-08-02 22:34:29.000000000 +0200
+++ /usr/src/linux-2.6.17.6/net/ipv4/netfilter/ipt_u32.c	2006-08-02 22:45:43.000000000 +0200
@@ -217,6 +217,7 @@
 static struct ipt_match u32_match = { 
 	.name 		= "u32",
 	.match		= &match,
+	.matchsize	= sizeof(struct ipt_u32),
 	.checkentry	= &checkentry,
 	.me		= THIS_MODULE
 };

             reply	other threads:[~2006-08-02 21:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-02 21:22 Piotr Chytla [this message]
2006-08-08  9:28 ` u32 patch Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060802212232.GA29168@packetconsulting.pl \
    --to=pch@packetconsulting.pl \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.