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

Am Donnerstag 02 Dezember 2010 schrieb Johannes Berg:
> 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.

Ok, thanks, I'll send a patch then. I guess we cannot use pskb_copy due to
(for example) our own fragmenation list usage, right?

Helmut

  reply	other threads:[~2010-12-02 17:10 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
2010-12-02 17:09   ` Helmut Schaa [this message]
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=201012021809.41623.helmut.schaa@googlemail.com \
    --to=helmut.schaa@googlemail.com \
    --cc=johannes@sipsolutions.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.