* mac80211: mesh hwmp: fix kfree(skb)
@ 2008-05-06 10:52 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2008-05-06 10:52 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 51 bytes --]
Signed-off-by: Patrick McHardy <kaber@trash.net>
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 368 bytes --]
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c
index 02de8f1..a8b2920 100644
--- a/net/mac80211/mesh_hwmp.c
+++ b/net/mac80211/mesh_hwmp.c
@@ -121,7 +121,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
*pos++ = WLAN_EID_PREP;
break;
default:
- kfree(skb);
+ kfree_skb(skb);
return -ENOTSUPP;
break;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-06 10:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 10:52 mac80211: mesh hwmp: fix kfree(skb) Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).