mac80211: Don't sleep when growing the mesh path
authorJavier Cardona <javier@cozybit.com>
Tue, 17 May 2011 23:13:34 +0000 (16:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:54:14 +0000 (13:54 -0400)
commitd676ff493d9dfb8b34892214665028a8c85e2056
treec577181f7e291ebdd39cdd616f1554bd7c3915d7
parentba4903f97a275ed0967b58ff882f8ab41bec24ad
mac80211: Don't sleep when growing the mesh path

After commit 1928ecab620907a0953f811316d05f367f3f4dba (mac80211: fix and
simplify mesh locking) mesh table allocation is performed with the
pathtbl_resize_lock taken.  Under those conditions one should not sleep.
This patch makes the allocations GFP_ATOMIC to prevent that.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c