mac80211: Assign next hop address to pending mesh frames
authorJavier Cardona <javier@cozybit.com>
Thu, 9 Jul 2009 21:42:16 +0000 (14:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:07 +0000 (15:05 -0400)
commit10c836d7896e9d7b683a76f3cac3c289d8da72ef
treee68ed929565d3960f6d431d353fc41932f410fdf
parent4bde0f7d1dca0a7d886997eb8dee3fb47a6484e4
mac80211: Assign next hop address to pending mesh frames

Assign next hop address to pending mesh frames once the path is resolved.

Regression.  Frames transmitted when a mesh path was wating to be resolved were
being transmitted with an invalid Receiver Address.

[Changes since v1]

Suggested by Johannes:
 - Improved frame_queue traversal
 - Narower RCU scope

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>
net/mac80211/mesh_pathtbl.c