Skip to contentSkip to conversation

drivers/net/wireless/libertas/rx.c: use-after-free

DISCUSSION Holger Schurig 2 participants 2 messages Jul 4, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20070703195633.GA6325@dmt

#2 lore raw
Quoted 4 lines

Hi Holger,

That line sneaked somehow with the patch - it was part of the original driver.

I think John W. Linville already committed my patch that removes the line completely. It's in
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git,
branch libertas-fixes

Quoted 1 line

process_rxed_802_11_packet is never called at the moment

I also noticed yesterday that process_rxed_802_11_packet() is never called, because no-one sets adapter->linkmode. So I posted a patch to libertas-dev and linux-wireless-dev to remove this variable as well as the code around it. I also found out lot's of other variables that weren't really used, and posted remove-XYZ patches. Please comment on which you want to stay because you/we plan to build an actual interface around them.

Quoted 3 lines

but we might want to support monitor mode properly (there is a firmware comming out with it soon), and setting ETH_P_80211_RAW seems required for that.

When is "is coming out soon" ??? If it's really soon, we shouldn't maybe commit my remove adapter->linkmode patch :-)

#3 lore raw
Quoted 2 lines · Holger Schurig

When is "is coming out soon" ??? If it's really soon, we shouldn't maybe commit my remove adapter->linkmode patch :-)

Yes, really soon, but don't worry, linkmode and radio were being removed anyway. However process_rxed_802_1 will be used. I will send the patch against libertas branch head tomorrow the latest.

Signature · 2 lines
Luis Carlos Cobo Rus       GnuPG ID: 44019B60
cozybit Inc.