mac80211: Defer tranmission of mesh path errors
authorJavier Cardona <javier@cozybit.com>
Tue, 6 Sep 2011 19:10:43 +0000 (12:10 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:29 +0000 (15:42 -0400)
commit2cca397f76a4a48ac20c34ec1e35bac8c6b08d1c
tree1392af2343bbfdc0e54fc9b20d62b631102a545c
parent2fa8b6a0e42570690a48a56cb65778211e3cc9cc
mac80211: Defer tranmission of mesh path errors

Under failure conditions, the mesh stack sends PERR messages to the
previous sender of the failed frame.  This happens in the tx feedback
path, in which the transmission queue lock may be taken.  Avoid a
deadlock by sending the path error via the pending queue.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c