Skip to content

Commit

Permalink
mac80211: mesh hwmp: fix kfree(skb)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Patrick McHardy authored and John W. Linville committed May 13, 2008
1 parent 69687a0 commit 812714d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/mesh_hwmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 812714d

Please sign in to comment.