Antoine Tenart 7f08ec6e04 net-sysfs: remove possible sleep from an RCU read-side critical section
xps_queue_show is mostly made of an RCU read-side critical section and
calls bitmap_zalloc with GFP_KERNEL in the middle of it. That is not
allowed as this call may sleep and such behaviours aren't allowed in RCU
read-side critical sections. Fix this by using GFP_NOWAIT instead.

Fixes: 5478fcd0f483 ("net: embed nr_ids in the xps maps")
Reported-by: kernel test robot <oliver.sang@intel.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-22 13:28:13 -07:00
..
2021-03-03 16:57:59 -08:00
2021-02-06 11:15:28 -08:00
2021-03-22 13:17:49 -07:00
2021-03-22 12:59:46 -07:00
2021-02-26 09:17:24 -08:00
2021-01-24 14:27:18 +01:00
2021-03-19 13:38:46 -07:00
2021-02-27 08:29:02 -08:00