linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: "Kernel bug detected" when using pktgen together with mac80211_hwsim
Date: Thu, 02 Dec 2010 17:38:58 +0100	[thread overview]
Message-ID: <1291307938.3481.48.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <201012021731.09440.helmut.schaa@googlemail.com>

On Thu, 2010-12-02 at 17:31 +0100, Helmut Schaa wrote:

> Unfortunately pktgen keeps a reference to the skb and thus pskb_expand_head
> triggers a BUG when called from mac80211. I worked around that issue by adding
> a skb_copy for shared skbs.
> 
> Maybe, someone else has a better idea on how to fix that?

Oops! That seems like the right way to fix it though.

johannes


  reply	other threads:[~2010-12-02 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 16:31 "Kernel bug detected" when using pktgen together with mac80211_hwsim Helmut Schaa
2010-12-02 16:38 ` Johannes Berg [this message]
2010-12-02 17:09   ` Helmut Schaa
2010-12-02 17:22     ` Johannes Berg

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=1291307938.3481.48.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=helmut.schaa@googlemail.com \
    --cc=linux-wireless@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).