Search Linux Wireless

Re: iwlwifi: bug in iwl_tx_skb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 10, 2008 at 3:27 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2008-10-10 at 14:20 +0200, Tomas Winkler wrote:
>> On Thu, Oct 9, 2008 at 11:04 AM, Johannes Berg
>> <johannes@xxxxxxxxxxxxxxxx> wrote:
>> > When iwl_txq_update_write_ptr fails, you have a huge problem: the skb is
>> > linked on the queue, the write_ptr has been incremented, but you pretend
>> > you can just free it.
>>
>> It's not freed it's should be picket in the next round. We should
>> really return success to mac80211 in case
>
> No, it _is_ freed, by the caller, because you always return success to
> mac80211 anyway and kfree the skb before. And if you didn't return
> success it'd be just as wrong.

Yes I know,  as I said we should return success there.
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux