Bug 11901
Summary: | ath5k triggers WARN_ON in __ieee80211_rx | ||
---|---|---|---|
Product: | Networking | Reporter: | Bob Copeland (me) |
Component: | Wireless | Assignee: | networking_wireless (networking_wireless) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | johannes, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28-rc | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 11808 | ||
Attachments: | Fix detection of jumbo frames |
Description
Bob Copeland
2008-10-30 09:15:09 UTC
This triggers since 63266a6535... "ath5k: rates cleanup". Particularly in hw_to_driver_rix(), if "something went wrong" it would fall back to the basic rate index of 1, whereas now it will return -1 and trigger the WARN_ON. Not sure yet whether or not hw rate index of 0 is valid and we just don't know about it, or there's some error condition we aren't catching earlier. Easiest way to trigger this incidentally is to just run kismet without joining a network. In recent kernels it happens almost immediately, on older stuff it can take up to 15 minutes. Created attachment 18576 [details]
Fix detection of jumbo frames
More digging and I found that these were jumbo frames, and our code for discarding them was horribly broken. This patch fixes the WARN_ON and replaces it with the intended error message. However there may be a separate bug leading to the fact that we now get tons of these.
Handled-By : Bob Copeland <me@bobcopeland.com> Patch : http://lkml.org/lkml/2008/11/2/157 Ignore-Patch : http://lkml.org/lkml/2008/11/2/157 Patch : http://marc.info/?l=linux-kernel&m=122576849517013&w=4 |