From: "Michael S. Tsirkin" <mst@redhat.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Patrick McHardy <kaber@trash.net>,
"David S. Miller" <davem@davemloft.net>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
"Pekka Savola (ipv6)" <pekkas@netcore.fi>,
James Morris <jmorris@namei.org>,
Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org,
netfilter@vger.kernel.org, coreteam@netfilter.org,
netdev@vger.kernel.org, herbert.xu@redhat.com,
kvm@vger.kernel.org
Subject: Re: [PATCH] netfilter: add CHECKSUM target
Date: Sun, 11 Jul 2010 15:27:08 +0300 [thread overview]
Message-ID: <20100711122708.GA3573@redhat.com> (raw)
In-Reply-To: <alpine.LSU.2.01.1007091154120.7235@obet.zrqbmnf.qr>
On Fri, Jul 09, 2010 at 11:56:26AM +0200, Jan Engelhardt wrote:
>
> On Friday 2010-07-09 00:29, Michael S. Tsirkin wrote:
> >
> > include/linux/netfilter_ipv4/ipt_CHECKSUM.h | 18 +++++++
> > net/ipv4/netfilter/Kconfig | 16 ++++++
> > net/ipv4/netfilter/Makefile | 1 +
> > net/ipv4/netfilter/ipt_CHECKSUM.c | 72 +++++++++++++++++++++++++++
>
> New modules should use xt.
I tried moving the module to xt_CHECKSUM but now
iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill
does not to load the module.
It seems that xt_request_find_target in x_tables uses the prefix 'ip' for a module.
What am I missing?
> >+static unsigned int
> >+checksum_tg(struct sk_buff *skb, const struct xt_action_param *par)
> >+{
> >+ if (skb->ip_summed == CHECKSUM_PARTIAL) {
> >+ skb_checksum_help(skb);
> >+ }
>
> - {}
next prev parent reply other threads:[~2010-07-11 12:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 22:29 [PATCH] netfilter: add CHECKSUM target Michael S. Tsirkin
2010-07-08 22:29 ` Michael S. Tsirkin
2010-07-08 22:35 ` [PATCH] extensions: libipt_CHECKSUM extension Michael S. Tsirkin
2010-07-08 22:35 ` Michael S. Tsirkin
2010-07-08 22:35 ` Michael S. Tsirkin
2010-07-08 22:35 ` Michael S. Tsirkin
2010-07-08 22:35 ` Michael S. Tsirkin
2010-07-09 7:18 ` [PATCH] netfilter: add CHECKSUM target Herbert Xu
2010-07-09 7:18 ` Herbert Xu
2010-07-11 9:21 ` Michael S. Tsirkin
2010-07-11 10:24 ` Herbert Xu
2010-07-11 10:24 ` Herbert Xu
2010-07-09 9:56 ` Jan Engelhardt
2010-07-11 12:27 ` Michael S. Tsirkin [this message]
2010-07-11 12:45 ` Changli Gao
2010-07-11 13:19 ` Michael S. Tsirkin
2010-07-11 12:45 ` Jan Engelhardt
2010-07-11 13:19 ` Michael S. Tsirkin
2010-07-09 15:17 ` Patrick McHardy
2010-07-09 16:26 ` Jan Engelhardt
2010-07-09 16:36 ` Patrick McHardy
2010-07-11 10:47 ` Michael S. Tsirkin
2010-07-15 15:17 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2010-07-08 22:29 Michael S. Tsirkin
2010-07-08 22:29 Michael S. Tsirkin
2010-07-08 22:29 Michael S. Tsirkin
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=20100711122708.GA3573@redhat.com \
--to=mst@redhat.com \
--cc=coreteam@netfilter.org \
--cc=davem@davemloft.net \
--cc=herbert.xu@redhat.com \
--cc=jengelh@medozas.de \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
--cc=pekkas@netcore.fi \
--cc=yoshfuji@linux-ipv6.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.