netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
To: Tomas Winkler <tomasw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
	francois.valenduc-bmtTS95sd5BUM80lpFwj4w@public.gmane.org,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org,
	bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	jussi.kivilinna-E01nCVcF24I@public.gmane.org
Subject: Re: [Bugme-new] [Bug 11144] New: dhcp doesn't work with iwl4965
Date: Thu, 24 Jul 2008 12:19:47 +0200	[thread overview]
Message-ID: <48885743.8030505@trash.net> (raw)
In-Reply-To: <1ba2fa240807240317g15f6ba84h91b513cce75975e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Tomas Winkler wrote:
> On Thu, Jul 24, 2008 at 11:58 AM, Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org> wrote:
>> David Miller wrote:
>>> From: Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
>>> Date: Wed, 23 Jul 2008 18:25:48 +0200
>>>
>>>> We can't fit them into the cb together, I don't see a way to
>>>> shrink ieee80211_tx_info.
>>>>
>>>> Maybe one of the wireless folks can suggest something? Is it
>>>> really necessary to pass the full struct ieee80211_tx_info
>>>> through the qdisc layer, or could the struct be split? It
>>>> needs to find a way to co-exist peacefully with qdiscs'
>>>> skb->cb usage.
>>> This is another area that got mangled up in the ->select_queue()
>>> conversion of the WME bits, but in another aspect this problem
>>> existed beforehand as well.
>>>
>>> Specifically, when RX packets get requeued out to transmit in
>>> the code in net/mac80211/rx.c that resends packets back out the
>>> wireless device by setting a bit in the SKB CB then calling
>>> dev_queue_xmit().
>>>
>>> That's completely illegal :-)
>> It seems its doing even more illegal things that were also
>> present previously. The ieee80211_master_start_xmit function
>> expects to get a valid IEEE80211_SKB_CB, which means it
>> expects it to survive through the entire qdisc layer. I'm
>> not sure how packets get to the master device from the
>> subifs though, so I might be wrong.
>>
> Isn't this time to make 802.11 native?


You mean by making these things real skb members? I hope you're
not talking about the entire 48 bytes? :)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-07-24 10:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-11144-10286@http.bugzilla.kernel.org/>
2008-07-22 10:48 ` [Bugme-new] [Bug 11144] New: dhcp doesn't work with iwl4965 Andrew Morton
2008-07-22 10:52   ` Patrick McHardy
     [not found]   ` <20080722034850.dbbc5566.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-07-23  7:58     ` François Valenduc
2008-07-23  7:59       ` François Valenduc
     [not found]       ` <4886E49D.6010700-bmtTS95sd5BUM80lpFwj4w@public.gmane.org>
2008-07-23  8:05         ` Andrew Morton
     [not found]           ` <20080723010522.389a948f.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-07-23  9:17             ` François Valenduc
     [not found]               ` <4886F727.6010301-bmtTS95sd5BUM80lpFwj4w@public.gmane.org>
2008-07-23 10:12                 ` Patrick McHardy
     [not found]                   ` <48870425.50908-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-07-23 11:29                     ` François Valenduc
     [not found]                       ` <48871632.3010205-bmtTS95sd5BUM80lpFwj4w@public.gmane.org>
2008-07-23 11:31                         ` Patrick McHardy
2008-07-23 11:58                           ` François Valenduc
     [not found]                           ` <4887169B.6090102-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-07-23 12:36                             ` François Valenduc
2008-07-23 12:44                               ` Patrick McHardy
     [not found]                                 ` <488727B3.7040007-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-07-23 12:51                                   ` Patrick McHardy
2008-07-23 14:57                                     ` François Valenduc
2008-07-23 15:18                                       ` Patrick McHardy
2008-07-23 15:19                                         ` Patrick McHardy
2008-07-23 15:42                                           ` François Valenduc
     [not found]                                             ` <4887514C.6080903-bmtTS95sd5BUM80lpFwj4w@public.gmane.org>
2008-07-23 15:52                                               ` Patrick McHardy
2008-07-23 15:58                                                 ` François Valenduc
2008-07-23 15:59                                                   ` Patrick McHardy
2008-07-23 16:25                                                     ` Patrick McHardy
2008-07-23 21:21                                                       ` David Miller
     [not found]                                                         ` <20080723.142147.61941255.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-07-24  8:58                                                           ` Patrick McHardy
     [not found]                                                             ` <48884451.1090703-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-07-24 10:17                                                               ` Tomas Winkler
     [not found]                                                                 ` <1ba2fa240807240317g15f6ba84h91b513cce75975e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-24 10:19                                                                   ` Patrick McHardy [this message]
     [not found]                                                                     ` <48885743.8030505-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-07-24 11:35                                                                       ` Tomas Winkler
     [not found]                                                                         ` <1ba2fa240807240435g36daa80at254144afffc39c32-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-24 11:45                                                                           ` Johannes Berg
2008-07-30 18:04                                                                             ` François Valenduc

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=48885743.8030505@trash.net \
    --to=kaber-dcujhnylwpneowh0uzbu5w@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=francois.valenduc-bmtTS95sd5BUM80lpFwj4w@public.gmane.org \
    --cc=jussi.kivilinna-E01nCVcF24I@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tomasw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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).