linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mac80211: Fixed bug in mesh portal paths
@ 2009-12-10  2:43 Javier Cardona
  2009-12-10  2:43 ` [PATCH 2/2] mac80211: Revert 'Use correct sign for mesh active path refresh' Javier Cardona
  2009-12-10  6:20 ` [PATCH 1/2] mac80211: Fixed bug in mesh portal paths Luis R. Rodriguez
  0 siblings, 2 replies; 4+ messages in thread
From: Javier Cardona @ 2009-12-10  2:43 UTC (permalink / raw)
  To: linux-wireless
  Cc: Javier Cardona, Andrey Yurovsky, stable, linville, johannes

Paths to mesh portals were being timed out immediately after each use in
intermediate forwarding nodes.  mppath->exp_time is set to the expiration time
so assigning it to jiffies was marking the path as expired.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
---
 net/mac80211/rx.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 8b3faa8..3d88541 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1712,7 +1712,6 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx)
 			mpp_path_add(proxied_addr, mpp_addr, sdata);
 		} else {
 			spin_lock_bh(&mppath->state_lock);
-			mppath->exp_time = jiffies;
 			if (compare_ether_addr(mppath->mpp, mpp_addr) != 0)
 				memcpy(mppath->mpp, mpp_addr, ETH_ALEN);
 			spin_unlock_bh(&mppath->state_lock);
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-10 13:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10  2:43 [PATCH 1/2] mac80211: Fixed bug in mesh portal paths Javier Cardona
2009-12-10  2:43 ` [PATCH 2/2] mac80211: Revert 'Use correct sign for mesh active path refresh' Javier Cardona
2009-12-10  6:20 ` [PATCH 1/2] mac80211: Fixed bug in mesh portal paths Luis R. Rodriguez
2009-12-10 12:58   ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).