diff options
| author | Christian Lamparter <[email protected]> | 2010-10-08 22:27:07 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2010-10-11 15:04:20 -0400 |
| commit | d12c74528e3065c90df70fbc06ec6ffd6e804738 (patch) | |
| tree | 623743ffa8899178b4cb4cfe7c831918f6727e74 /tools/perf/scripts/python | |
| parent | 7109ca5c80a0bb94378ebd7f8bb6d00edb5e6fba (diff) | |
mac80211: fix possible null-pointer de-reference
This patch not only fixes a null-pointer de-reference
that would be triggered by a PLINK_OPEN frame with mis-
matching/incompatible mesh configuration, but also
responds correctly to non-compatible PLINK_OPEN frames
by generating a PLINK_CLOSE with the right reason code.
The original bug was detected by smatch.
( http://repo.or.cz/w/smatch.git )
net/mac80211/mesh_plink.c +574 mesh_rx_plink_frame(168)
error: we previously assumed 'sta' could be null.
Cc: <[email protected]>
Reviewed-and-Tested-by: Steve deRosier <[email protected]>
Reviewed-and-Tested-by: Javier Cardona <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Signed-off-by: Christian Lamparter <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions