All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: 015-mac80211-tx-info-skb-cb.patch
Date: Thu, 8 May 2008 16:57:27 +0200	[thread overview]
Message-ID: <200805081657.27976.IvDoorn@gmail.com> (raw)
In-Reply-To: <1210257820.3547.50.camel@johannes.berg>

On Thursday 08 May 2008, Johannes Berg wrote:
> On Thu, 2008-05-08 at 15:03 +0200, Ivo van Doorn wrote:
> > Hi Johannes,
> > 
> > The following patch is intended to be ontop or integrated into your patch:
> > http://johannes.sipsolutions.net/patches/kernel/all/LATEST/015-mac80211-tx-info-skb-cb.patch
> > This fixes a compilation error when mac80211 debug output is disabled.
> > 
> > Ivo
> > ---
> > diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
> > index 3b3592f..50edc9d 100644
> > --- a/net/mac80211/tx.c
> > +++ b/net/mac80211/tx.c
> > @@ -223,10 +223,9 @@ static ieee80211_tx_result
> >  ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
> >  {
> >  #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
> > -	struct sk_buff *skb = tx->skb;
> > -	struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data;
> > +	struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) tx->skb->data;
> >  #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
> > -	struct ieee80211_tx_info *info = (void *)skb->cb;
> > +	struct ieee80211_tx_info *info = (void *)tx->skb->cb;
> 
> Did you send me that before? I seem to have a similar fix already.

No I haven't, I had been compiling mac80211 with VERBOSE_DEBUG on ever
since I added the patches from your tree to rt2x00.git so I never noticed this
bug. I just received the bugreport from somebody at the rt2x00 forum. :)

Since rt2x00.git contains your patches from a week ago, I did check if the
bug was still present in your latest version.
Anyway the important thing is that you have the fix. ;)

Ivo

  reply	other threads:[~2008-05-08 14:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-08 13:03 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 14:43 ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 14:57   ` Ivo van Doorn [this message]
2008-05-08 14:50     ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 15:10       ` 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 15:05         ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 15:34           ` 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 15:28             ` 015-mac80211-tx-info-skb-cb.patch 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=200805081657.27976.IvDoorn@gmail.com \
    --to=ivdoorn@gmail.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.