From: Jamal Hadi Salim <hadi@cyberus.ca>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David Miller <davem@davemloft.net>,
kaber@trash.net, netdev@vger.kernel.org
Subject: Re: BUG: warning at net/core/dev.c:1171/skb_checksum_help() 2.6.18-rc3
Date: Tue, 01 Aug 2006 08:00:48 -0400 [thread overview]
Message-ID: <1154433648.5170.84.camel@jzny2> (raw)
In-Reply-To: <20060801074504.GA4272@gondor.apana.org.au>
On Tue, 2006-01-08 at 17:45 +1000, Herbert Xu wrote:
> On Tue, Aug 01, 2006 at 12:36:14AM -0700, David Miller wrote:
> >
> > > > - tc_verd/tc_index/input_dev: when directing a packet from a device
> > > > supporting GSO to a device not supporting GSO using tc actions,
> > > > these fields may be set.
> > >
> > > This doesn't look right though. GSO should occur just before
> > > hard_start_xmit (after all tc actions have taken place) so we
> > > shouldn't have any more tc actions to perform.
> >
> > Hmmm, what about loopback? Yeah yeah, LOOPBACK_TSO is not defined :)
> > but what I'm really referring to is that loopback preserves the
> > traffic classifier bits of the skb.
>
> I don't know. Jamal, is there a scenario where these three attributes
> are needed for loopback packets?
I didnt fully understand the scope of the discussion, but a little
explanation may help answer the question:
If the only spot where the GSO kicks in is at or after qdisc_is_running
level, then the redirect will happen way before that point at
qdisc->enqueue time.
When we redirect or mirror, the packet is cloned and any metadata
preserved at clone time needs to stay intact before dev_queue_xmit is
hit for the destination device.
And of course we have no checks for whether we are redirecting from a
device that is GSO capable to one that is not (or vice-versa). If thats
important, we could add a check.
I am not sure if I answered the question ;->
cheers,
jamal
next prev parent reply other threads:[~2006-08-01 12:00 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 4:16 BUG: warning at net/core/dev.c:1171/skb_checksum_help() 2.6.18-rc3 David Coulson
2006-07-31 4:24 ` Patrick McHardy
2006-07-31 4:59 ` David Miller
2006-07-31 5:07 ` Patrick McHardy
2006-07-31 10:39 ` Patrick McHardy
2006-07-31 11:30 ` Herbert Xu
2006-07-31 18:36 ` Patrick McHardy
2006-07-31 21:15 ` David Miller
2006-07-31 21:36 ` Patrick McHardy
2006-07-31 21:54 ` David Miller
2006-08-01 7:00 ` David Miller
2006-08-01 7:04 ` Herbert Xu
2006-08-01 7:22 ` Patrick McHardy
2006-08-01 15:34 ` Phil Oester
2006-08-01 22:04 ` Herbert Xu
2006-08-01 7:19 ` Patrick McHardy
2006-08-01 7:23 ` Herbert Xu
2006-08-01 7:36 ` David Miller
2006-08-01 7:45 ` Herbert Xu
2006-08-01 12:00 ` Jamal Hadi Salim [this message]
2006-08-01 12:34 ` Herbert Xu
2006-08-01 12:55 ` Jamal Hadi Salim
2006-08-01 7:38 ` Patrick McHardy
2006-08-01 11:51 ` Herbert Xu
2006-08-03 9:21 ` Patrick McHardy
2006-08-03 9:30 ` Herbert Xu
2006-08-03 9:34 ` Patrick McHardy
2006-08-01 12:29 ` Herbert Xu
2006-08-03 9:29 ` Patrick McHardy
2006-08-03 9:33 ` Herbert Xu
2006-08-03 9:40 ` Patrick McHardy
2006-08-03 9:57 ` Herbert Xu
2006-08-05 7:13 ` Patrick McHardy
2006-08-05 7:59 ` Herbert Xu
2006-08-01 22:03 ` Herbert Xu
2006-08-03 9:30 ` Patrick McHardy
2006-08-02 0:49 ` Herbert Xu
2006-08-03 9:32 ` Patrick McHardy
2006-08-03 9:36 ` Herbert Xu
2006-08-03 9:43 ` Patrick McHardy
2006-07-31 4:34 ` Andrew Morton
2006-07-31 4:42 ` David Coulson
2006-07-31 4:58 ` David Miller
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=1154433648.5170.84.camel@jzny2 \
--to=hadi@cyberus.ca \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=kaber@trash.net \
--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).