public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org
Subject: Re: Fw: [Bug 99091] New: Kernel panic while sending network packets over TAP interface
Date: Fri, 29 May 2015 11:01:44 +0800	[thread overview]
Message-ID: <20150529030143.GA16290@gondor.apana.org.au> (raw)
In-Reply-To: <20150528073556.335fd7a3@urahara>

Stephen Hemminger <stephen@networkplumber.org> wrote:
>
> Our setup is designed specifically to cause the calling path "bridge transmit"
> - "VLAN transmit" - "bridge transmit" - "GRE or TAP transmit" as reflected by
> the crash dump. It appears that this sequence hits a race condition or a
> corrupted/uninitialized error queue in skb_queue_tail().

Your bug is simple.  Somebody is setting skb->sk when they shouldn't.
Presumably it's whatever that injected the packet into your stack,
i.e., your NIC driver.  So you should start looking for blame there.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      reply	other threads:[~2015-05-29  3:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 14:35 Fw: [Bug 99091] New: Kernel panic while sending network packets over TAP interface Stephen Hemminger
2015-05-29  3:01 ` Herbert Xu [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=20150529030143.GA16290@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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