diff options
| author | Markus Pargmann <[email protected]> | 2013-10-13 19:17:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-17 19:48:14 +0000 |
| commit | dbbd2ad89bb1f86b94b23bb2e56d4935717f9b94 (patch) | |
| tree | c44747aa07f81d6eb8ff94e3bfc4c2972f40fd90 /net/unix/af_unix.c | |
| parent | bnx2x: record rx queue for LRO packets (diff) | |
| download | kernel-dbbd2ad89bb1f86b94b23bb2e56d4935717f9b94.tar.gz kernel-dbbd2ad89bb1f86b94b23bb2e56d4935717f9b94.zip | |
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 <[email protected]>
Acked-by: Peter Korsgaard <[email protected]>
Acked-by: Mugunthan V N <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
