Commit 5e2e05de authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

mac80211: use kfree_skb() instead of kfree()

sk_buff structs should be freed using kfree_skb().

This was introduced recently in 02945821

 "mac80211: Save probe
response data for bss".

Signed-off-by: default avatarDan Carpenter <>
Signed-off-by: default avatarJohn W. Linville <>
parent a5f69d94
......@@ -474,7 +474,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
RCU_INIT_POINTER(sdata->u.ap.probe_resp, NULL);
/* down all dependent devices, that is VLANs */
list_for_each_entry_safe(vlan, tmpsdata, &sdata->u.ap.vlans,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment