Linux wireless drivers development
 help / color / mirror / Atom feed
From: Michael Wu <flamingice@sourmilk.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Andy Green <andy@warmcat.com>
Subject: Re: [PATCH] mac80211: separate monitor/subif_start_xmit
Date: Thu, 28 Jun 2007 22:39:21 -0700	[thread overview]
Message-ID: <200706282239.21844.flamingice@sourmilk.net> (raw)
In-Reply-To: <200706282235.46522.flamingice@sourmilk.net>

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

On Thursday 28 June 2007 22:35, Michael Wu wrote:
> On Thursday 21 June 2007 06:39, Johannes Berg wrote:
> > +	skb_set_network_header(skb, len + sizeof(struct ieee80211_hdr));
> > +	skb_set_transport_header(skb, len + sizeof(struct ieee80211_hdr));
> > +
> Hm, just noticed a potential problem with this. sizeof(struct
> ieee80211_hdr) can't be used since ieee80211 headers are variable sized and
> the smallest frames can end up being smaller than the 4 addr header.
>
And the other code in subif_xmit does this too.. hrm.

-Michael Wu

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-06-29  5:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 13:39 [PATCH] mac80211: separate monitor/subif_start_xmit Johannes Berg
2007-06-29  5:35 ` Michael Wu
2007-06-29  5:39   ` Michael Wu [this message]
2007-06-29  5:47     ` Michael Wu
2007-06-29  5:58   ` 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=200706282239.21844.flamingice@sourmilk.net \
    --to=flamingice@sourmilk.net \
    --cc=andy@warmcat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox