Commit 5d618cb81aeea19879975cd1f9a1e707694dfd7c

Authored by Javier Cardona
Committed by John W. Linville
1 parent 0c3cee72a4

mac80211: Fixed bug in mesh portal paths

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>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1712,7 +1712,6 @@
1712 1712 mpp_path_add(proxied_addr, mpp_addr, sdata);
1713 1713 } else {
1714 1714 spin_lock_bh(&mppath->state_lock);
1715   - mppath->exp_time = jiffies;
1716 1715 if (compare_ether_addr(mppath->mpp, mpp_addr) != 0)
1717 1716 memcpy(mppath->mpp, mpp_addr, ETH_ALEN);
1718 1717 spin_unlock_bh(&mppath->state_lock);