From: Markus Pargmann Date: Sun, 13 Oct 2013 19:17:01 +0000 (+0200) Subject: net/ethernet: cpsw: Bugfix interrupts before enabling napi X-Git-Tag: v3.12-rc7~20^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbd2ad89bb1f86b94b23bb2e56d4935717f9b94;p=pandora-kernel.git net/ethernet: cpsw: Bugfix interrupts before enabling napi 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 Acked-by: Peter Korsgaard Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- Reading git-diff-tree failed