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

Peter Korsgaard peter at korsgaard.com
Mon Oct 14 07:48:29 EDT 2013


>>>>> "Markus" == Markus Pargmann <mpa at pengutronix.de> writes:

 Markus> If interrupts happen before napi_enable was called, the driver will not
 Markus> work as expected. Network transmissions are impossible in this state.
 Markus> This bug can be reproduced easily by restarting the network interface in
 Markus> a loop. After some time any network transmissions on the network
 Markus> interface will fail.

 Markus> This patch fixes the bug by enabling napi before enabling the network
 Markus> interface interrupts.

 Markus> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>

Acked-by: Peter Korsgaard <jacmet at sunsite.dk>

-- 
Bye, Peter Korsgaard



More information about the linux-arm-kernel mailing list