diff options
author | Patrick McHardy <kaber@trash.net> | 2008-05-06 12:52:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-13 03:22:18 +0200 |
commit | 812714d741750038004da505074c9158e9dee270 (patch) | |
tree | 21cb02b9743bd5ea2cff490055d55e31c4a7f1e8 /net | |
parent | mac80211: fix access to null skb (diff) | |
download | linux-812714d741750038004da505074c9158e9dee270.tar.xz linux-812714d741750038004da505074c9158e9dee270.zip |
mac80211: mesh hwmp: fix kfree(skb)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mesh_hwmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 3df809222d1c..af0cd1e3e213 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; } |