netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Changli Gao <xiaosuo@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: netfilter-devel@vger.kernel.org, Changli Gao <xiaosuo@gmail.com>
Subject: [PATCH iptables] libxt_length: update to revision 1
Date: Sat, 24 Jul 2010 12:29:06 +0800	[thread overview]
Message-ID: <1279945746-24034-1-git-send-email-xiaosuo@gmail.com> (raw)

update libxt_length to revision 1 to support ipv6 jumbo frames.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
 extensions/libxt_length.c           |    1 +
 include/linux/netfilter/xt_length.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/extensions/libxt_length.c b/extensions/libxt_length.c
index 96e8b6c..5d0f5e9 100644
--- a/extensions/libxt_length.c
+++ b/extensions/libxt_length.c
@@ -125,6 +125,7 @@ static struct xtables_match length_match = {
 	.print		= length_print,
 	.save		= length_save,
 	.extra_opts	= length_opts,
+	.revision	= 1,
 };
 
 void _init(void)
diff --git a/include/linux/netfilter/xt_length.h b/include/linux/netfilter/xt_length.h
index b82ed7c..a12785c 100644
--- a/include/linux/netfilter/xt_length.h
+++ b/include/linux/netfilter/xt_length.h
@@ -4,7 +4,7 @@
 #include <linux/types.h>
 
 struct xt_length_info {
-    __u16	min, max;
+    __u32	min, max;
     __u8	invert;
 };
 

             reply	other threads:[~2010-07-24  4:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-24  4:29 Changli Gao [this message]
2010-07-24  5:28 ` [PATCH iptables] libxt_length: update to revision 1 Eric Dumazet
2010-07-24  5:43   ` Changli Gao
2010-07-24  8:55 ` Jan Engelhardt
2010-07-24 11:47   ` Changli Gao
2010-07-25 16:28     ` Jan Engelhardt
2010-07-26  0:07       ` Changli Gao
2010-07-26  0:21         ` Changli Gao

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=1279945746-24034-1-git-send-email-xiaosuo@gmail.com \
    --to=xiaosuo@gmail.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).