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:
parent
69687a0b99
commit
812714d741
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user