diff mbox

[RFC,v2] mac80211: fix possible null-pointer dereference

Message ID AANLkTikXeA=Q5C84-aaZeq1+vR8vFdXEEe5GyQfCDqr1@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Javier Cardona Oct. 8, 2010, 6:25 p.m. UTC
None
diff mbox

Patch

diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index ea13a80..8b7efee 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -412,7 +412,7 @@  void mesh_rx_plink_frame(struct
ieee80211_sub_if_data *sdata, struct ieee80211_m
       enum plink_event event;
       enum plink_frame_type ftype;
       size_t baselen;
-       bool deactivated;
+       bool deactivated, matches_local = true;
       u8 ie_len;
       u8 *baseaddr;