projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6965c4
)
mac80211: fix mesh path flushing
author
Javier Cardona
<javier@cozybit.com>
Tue, 9 Aug 2011 23:45:07 +0000
(16:45 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 24 Aug 2011 17:59:42 +0000
(13:59 -0400)
Previously, mpaths were never flushed since the mpath is not active once
we call this function.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/mesh_pathtbl.c
b/net/mac80211/mesh_pathtbl.c
index 385f9fc526db3f57a8a36f792a07054cdeda0407..bcf7fee53b2c3196d640ebb2ffecfbc5b1c71a05 100644
(file)
--- a/
net/mac80211/mesh_pathtbl.c
+++ b/
net/mac80211/mesh_pathtbl.c
@@
-735,8
+735,7
@@
void mesh_path_flush_pending(struct mesh_path *mpath)
{
struct sk_buff *skb;
- while ((skb = skb_dequeue(&mpath->frame_queue)) &&
- (mpath->flags & MESH_PATH_ACTIVE))
+ while ((skb = skb_dequeue(&mpath->frame_queue)) != NULL)
mesh_path_discard_frame(skb, mpath->sdata);
}