Re: [PATCH net 1/2] ocelot: Don't sleep in atomic context (irqs_disabled())

2019-04-16 Thread David Miller
From: Claudiu Manoil Date: Tue, 16 Apr 2019 17:51:58 +0300 > Preemption disabled at: > [] dev_set_rx_mode+0x1c/0x38 > Call trace: > [] dump_backtrace+0x0/0x3d0 > [] show_stack+0x14/0x20 > [] dump_stack+0xac/0xe4 > [] ___might_sleep+0x164/0x238 > [] __might_sleep+0x50/0x88 > [] kmem_cache

[PATCH net 1/2] ocelot: Don't sleep in atomic context (irqs_disabled())

2019-04-16 Thread Claudiu Manoil
Preemption disabled at: [] dev_set_rx_mode+0x1c/0x38 Call trace: [] dump_backtrace+0x0/0x3d0 [] show_stack+0x14/0x20 [] dump_stack+0xac/0xe4 [] ___might_sleep+0x164/0x238 [] __might_sleep+0x50/0x88 [] kmem_cache_alloc+0x17c/0x1d0 [] ocelot_set_rx_mode+0x108/0x188 [mscc_ocelot_common] []