Commit 812714d7 authored by Patrick McHardy's avatar Patrick McHardy Committed by John W. Linville

mac80211: mesh hwmp: fix kfree(skb)

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 69687a0b
...@@ -120,7 +120,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, ...@@ -120,7 +120,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
*pos++ = WLAN_EID_PREP; *pos++ = WLAN_EID_PREP;
break; break;
default: default:
kfree(skb); kfree_skb(skb);
return -ENOTSUPP; return -ENOTSUPP;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment