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

Mugunthan V N mugunthanvnm at ti.com
Wed Oct 16 08:58:36 EDT 2013


On Monday 14 October 2013 12:47 AM, Markus Pargmann wrote:
> 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>
Acked-by: Mugunthan V N <mugunthanvnm at ti.com>

Regards
Mugunthan V N



More information about the linux-arm-kernel mailing list