]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: Fixed bug in mesh portal paths
authorJavier Cardona <javier@cozybit.com>
Thu, 10 Dec 2009 02:43:00 +0000 (18:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:04:21 +0000 (14:04 -0800)
commitdde24b6c58b10e27c296f2d343e9512ec0dce874
tree17af046c45d67ae10370fe6a601a68ac05137101
parentfb0f7048cfa072125c98dc11884a96d1e03c0f9a
mac80211: Fixed bug in mesh portal paths

commit 5d618cb81aeea19879975cd1f9a1e707694dfd7c upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/rx.c