public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Beschorner Daniel <Daniel.Beschorner@facton.com>
Cc: netdev@vger.kernel.org
Subject: Re: Invalid truesize messages since 2.6.25
Date: Fri, 26 Sep 2008 22:53:35 +0100	[thread overview]
Message-ID: <1222466015.8641.113.camel@achroite> (raw)
In-Reply-To: <3C59DB883F7B0B4D8096010D45ACCD13C73CAE@exch.facton.local>

On Fri, 2008-09-26 at 19:53 +0200, Beschorner Daniel wrote:
> I did some more investigations and can reproduce it now in a simple way:
> 
> I take my tg3 device into promiscuous mode and capture ESP packets:
> Just "tcpdump -i eth1 esp" and ping 4 times through the IPSEC tunnel to
> generate ESP traffic, after that dmesg shows
> 
> device eth1 entered promiscuous mode
> SKB BUG: Invalid truesize (336) len=134, sizeof(sk_buff)=208
> SKB BUG: Invalid truesize (336) len=134, sizeof(sk_buff)=208
> SKB BUG: Invalid truesize (336) len=134, sizeof(sk_buff)=208
> SKB BUG: Invalid truesize (336) len=134, sizeof(sk_buff)=208
> device eth1 left promiscuous mode
> 
> Daniel
> 
> ----------
> Since 2.6.25 we rarely see these messages:
> 
> SKB BUG: Invalid truesize (408) len=198, sizeof(sk_buff)=216
> 
> Yesterday I saw it the first time after a runtime of one week with
> 2.6.26.
> The box is web server / IPSEC gateway.
> Obviously nothing seems to be affected by the message but <= 2.6.24 no
> messages appeared.

Commit 3ab224be6d69de912ee21302745ea45a99274dbc, applied between 2.6.24
and 2.6.25, appears to ensure that truesize is checked for all skbs
where previously it was only done for some.  The bug probably already
existed in the ipsec code, which never updates truesize.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


  reply	other threads:[~2008-09-26 21:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 17:53 Invalid truesize messages since 2.6.25 Beschorner Daniel
2008-09-26 21:53 ` Ben Hutchings [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-22  8:54 Beschorner Daniel
2008-07-22 11:43 ` Ben Hutchings
2008-07-22 12:06   ` Beschorner Daniel
2008-07-22 17:20     ` Markus Werner
2008-07-23  7:55       ` Marco Berizzi

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=1222466015.8641.113.camel@achroite \
    --to=bhutchings@solarflare.com \
    --cc=Daniel.Beschorner@facton.com \
    --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