From: "David S. Miller" <davem@redhat.com>
To: James Morris <jmorris@redhat.com>
Cc: herbert@gondor.apana.org.au, netdev@oss.sgi.com
Subject: Re: pskb change in dst->output
Date: Fri, 9 Jul 2004 12:36:08 -0700 [thread overview]
Message-ID: <20040709123608.1f9f9265.davem@redhat.com> (raw)
In-Reply-To: <Xine.LNX.4.44.0407091001460.3887-100000@thoron.boston.redhat.com>
On Fri, 9 Jul 2004 10:02:25 -0400 (EDT)
James Morris <jmorris@redhat.com> wrote:
> On Fri, 9 Jul 2004, Herbert Xu wrote:
>
> > On Thu, Jul 08, 2004 at 02:02:35PM +1000, herbert wrote:
> > >
> > > That's only because the dst->output() functions are calling
> > > skb_checksum_help(). Since those same functions assume the
> > > skb to be "uncloned" anyway (they modify it directly by adding
> > > headers etc.), they only need to call a version of
> > > skb_checksum_help() that does not do a copy of the skb.
> >
> > If there are no objections, I'd like to create a version of
> > skb_checksum_help() that doesn't copy the packet, and call
> > that version from ah_output()/esp_output()/ipcomp_output().
>
> This will break when cloned packets are passed to these functions.
James is right Herbert. TCP will send clones down into these routines
all the time.
next prev parent reply other threads:[~2004-07-09 19:36 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-07 13:06 pskb change in dst->output Herbert Xu
2004-07-07 14:58 ` James Morris
2004-07-07 21:28 ` Herbert Xu
2004-07-07 22:01 ` David S. Miller
2004-07-07 23:12 ` Herbert Xu
2004-07-07 23:33 ` James Morris
2004-07-08 0:04 ` Herbert Xu
2004-07-08 0:17 ` David S. Miller
2004-07-08 0:35 ` Herbert Xu
2004-07-08 1:05 ` James Morris
2004-07-08 1:11 ` Herbert Xu
2004-07-08 1:19 ` James Morris
2004-07-08 3:34 ` James Morris
2004-07-08 4:02 ` Herbert Xu
2004-07-09 8:14 ` Herbert Xu
2004-07-09 14:02 ` James Morris
2004-07-09 19:36 ` David S. Miller [this message]
2004-07-09 20:42 ` Herbert Xu
2004-07-09 21:07 ` Herbert Xu
2004-07-09 21:21 ` David S. Miller
2004-07-09 21:43 ` Herbert Xu
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=20040709123608.1f9f9265.davem@redhat.com \
--to=davem@redhat.com \
--cc=herbert@gondor.apana.org.au \
--cc=jmorris@redhat.com \
--cc=netdev@oss.sgi.com \
/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).