diff options
| author | Yogesh Ashok Powar <[email protected]> | 2011-07-13 17:42:06 +0530 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-07-15 13:38:30 -0400 |
| commit | 16c929df0895e6f52f4a0f17683d709f5fef95d8 (patch) | |
| tree | b0dfdbf0e252ddef7ab480233ce8842c0e7867a1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 5a865bad44984de245d20bfb7cff99993e8e8294 (diff) | |
mwl8k: Fixing sta dereference when ieee80211_tx_info->control.sta is NULL
Following oops was seen on SMP machine
>BUG: unable to handle kernel NULL pointer dereference at 00000012
>IP: [<f8c56691>] mwl8k_tx+0x20e/0x561 [mwl8k]
>*pde = 00000000
>Oops: 0000 [#1] SMP
>Modules linked in: mwl8k mac80211 cfg80211 [last unloaded: cfg80211]
As ieee80211_tx_info->control.sta may be NULL during ->tx call, avoiding sta
dereference in such scenario with the following patch.
Signed-off-by: Yogesh Ashok Powar <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions