netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: baronchon@n7mm.org
Cc: netdev@vger.kernel.org, hadi@cyberus.ca
Subject: Re: [PATCH v3] net/sched: add ACT_CSUM action to update packets checksums
Date: Fri, 20 Aug 2010 01:43:21 -0700 (PDT)	[thread overview]
Message-ID: <20100820.014321.45884355.davem@davemloft.net> (raw)
In-Reply-To: <20100818231035.GD24125@n7mm.org>

From: Grégoire Baron <baronchon@n7mm.org>
Date: Thu, 19 Aug 2010 01:10:35 +0200

> net/sched: add ACT_CSUM action to update packets checksums
> 
> ACT_CSUM can be called just after ACT_PEDIT in order to re-compute some
> altered checksums in IPv4 and IPv6 packets. The following checksums are
> supported by this patch:
>  - IPv4: IPv4 header, ICMP, IGMP, TCP, UDP & UDPLite
>  - IPv6: ICMPv6, TCP, UDP & UDPLite
> It's possible to request in the same action to update different kind of
> checksums, if the packets flow mix TCP, UDP and UDPLite, ...
> 
> An example of usage is done in the associated iproute2 patch.
> 
> Version 3 changes:
>  - remove useless goto instructions
>  - improve IPv6 hop options decoding
> 
> Version 2 changes:
>  - coding style correction
>  - remove useless arguments of some functions
>  - use stack in tcf_csum_dump()
>  - add tcf_csum_skb_nextlayer() to factor code
> 
> Acked-by: jamal <hadi@cyberus.ca>
> Signed-off-by: Gregoire Baron <baronchon@n7mm.org>

Applied, thanks.

      reply	other threads:[~2010-08-20  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 23:10 [PATCH v3] net/sched: add ACT_CSUM action to update packets checksums Grégoire Baron
2010-08-20  8:43 ` David Miller [this message]

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=20100820.014321.45884355.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=baronchon@n7mm.org \
    --cc=hadi@cyberus.ca \
    --cc=netdev@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).