Skip to contentSkip to conversation

mac80211: mesh hwmp: fix kfree(skb)

PATCH Patrick McHardy 1 participant 1 message May 6, 2008 mac80211

lore
Share & tools
lore
#0 lore raw
net/mac80211/mesh_hwmp.c +1 -1
index 02de8f1..a8b2920 100644
@@ -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;
 	}