[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090506112212.6a4600db@dhcp-lab-109.englab.brq.redhat.com>
Date: Wed, 6 May 2009 11:22:12 +0200
From: Stanislaw Gruszka <sgruszka@...hat.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Cc: Eilon Greenstein <eilong@...adcom.com>
Subject: [PATCH 3/3] bnx2x: do not return negative number of received
packages
Signed-off-by: Stanislaw Gruszka <sgruszka@...hat.com>
---
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 5bd42db..588c361 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -1539,7 +1539,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget)
len, cqe, comp_ring_cons);
#ifdef BNX2X_STOP_ON_ERROR
if (bp->panic)
- return -EINVAL;
+ return 0;
#endif
bnx2x_update_sge_prod(fp,
--
1.5.5.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists