mac80211: mesh hwmp: fix kfree(skb)

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Patrick McHardy 2008-05-06 12:52:07 +02:00 committed by John W. Linville
parent 69687a0b99
commit 812714d741
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}