Re: [PATCH net 3/3] net: mvpp2: do not sleep in set_rx_mode
From: David Miller
Date: Thu Oct 26 2017 - 04:08:51 EST
From: Antoine Tenart <antoine.tenart@xxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2017 11:41:28 +0200
> This patch replaces GFP_KERNEL by GFP_ATOMIC to avoid sleeping in the
> ndo_set_rx_mode() call which is called with BH disabled.
>
> Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxxxxxxxxx>
Applied.