提交 812714d7 编写于 作者: P Patrick McHardy 提交者: John W. Linville

mac80211: mesh hwmp: fix kfree(skb)

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 69687a0b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册