“35ac9719f22c6c57eb3d520d11e303349e583e9d”上不存在“...share/demo/git@gitcode.net:openanolis/dragonwell8_jdk.git”
提交 00e3f25c 编写于 作者: J Javier Cardona 提交者: John W. Linville

mac80211: fix mesh path flushing

Previously, mpaths were never flushed since the mpath is not active once
we call this function.
Signed-off-by: NJavier Cardona <javier@cozybit.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 a6965c44
...@@ -735,8 +735,7 @@ void mesh_path_flush_pending(struct mesh_path *mpath) ...@@ -735,8 +735,7 @@ void mesh_path_flush_pending(struct mesh_path *mpath)
{ {
struct sk_buff *skb; struct sk_buff *skb;
while ((skb = skb_dequeue(&mpath->frame_queue)) && while ((skb = skb_dequeue(&mpath->frame_queue)) != NULL)
(mpath->flags & MESH_PATH_ACTIVE))
mesh_path_discard_frame(skb, mpath->sdata); mesh_path_discard_frame(skb, mpath->sdata);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册