diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2009-05-05 19:22:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-08 17:52:04 -0400 |
commit | 17cb4006bc40eea949f62adbbad99d8b980c0678 (patch) | |
tree | 64dcda2ef2515d594491bbfd090944a3bfab0e71 /drivers/net/bnx2x_main.c | |
parent | dd21ca6de703230785b755c8290365fc1640200e (diff) |
bnx2x: do not return negative number of received packages
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 519e2079f03a..e01539c33b8a 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -1546,7 +1546,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) | |||
1546 | len, cqe, comp_ring_cons); | 1546 | len, cqe, comp_ring_cons); |
1547 | #ifdef BNX2X_STOP_ON_ERROR | 1547 | #ifdef BNX2X_STOP_ON_ERROR |
1548 | if (bp->panic) | 1548 | if (bp->panic) |
1549 | return -EINVAL; | 1549 | return 0; |
1550 | #endif | 1550 | #endif |
1551 | 1551 | ||
1552 | bnx2x_update_sge_prod(fp, | 1552 | bnx2x_update_sge_prod(fp, |