From: Patrick McHardy Date: Tue, 6 May 2008 10:52:07 +0000 (+0200) Subject: mac80211: mesh hwmp: fix kfree(skb) X-Git-Tag: v2.6.26-rc3~65^2~14^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=812714d741750038004da505074c9158e9dee270;p=linux-2.6-omap-h63xx.git mac80211: mesh hwmp: fix kfree(skb) Signed-off-by: Patrick McHardy Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 3df809222d1..af0cd1e3e21 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c @@ -120,7 +120,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; }