"ext tom.leiming@xxxxxxxxx" <tom.leiming@xxxxxxxxx> writes: > From: Ming Lei <tom.leiming@xxxxxxxxx> > > This patch fixes memory leak in ieee80211_send_probe_req, which > is introduced in 7c12ce8b854df346388ea56d684784e3484012cf: > > mac80211: use Probe Request template when sending a direct scan Sorry, I introduced this bug. Thank you finding this. > The patch is against the latest wireless-test tree. You should add comments like this after the "---" line. > @@ -1028,6 +1028,7 @@ void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, > > IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; > ieee80211_tx_skb(sdata, skb); > + kfree(buf); Better to use dev_kfree_skb() here. Can you resend, please? -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html