[PATCH] net/ethernet: cpsw: Bugfix interrupts before enabling napi

David Miller davem at davemloft.net
Thu Oct 17 15:48:44 EDT 2013


From: Markus Pargmann <mpa at pengutronix.de>
Date: Sun, 13 Oct 2013 21:17:01 +0200

> If interrupts happen before napi_enable was called, the driver will not
> work as expected. Network transmissions are impossible in this state.
> This bug can be reproduced easily by restarting the network interface in
> a loop. After some time any network transmissions on the network
> interface will fail.
> 
> This patch fixes the bug by enabling napi before enabling the network
> interface interrupts.
> 
> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>

Applied, thanks.



More information about the linux-arm-kernel mailing list