projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd21ca6
)
bnx2x: do not return negative number of received packages
author
Stanislaw Gruszka
<sgruszka@redhat.com>
Tue, 5 May 2009 23:22:12 +0000
(23:22 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 May 2009 21:52:04 +0000
(14:52 -0700)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index 519e2079f03a3c344f86b4c5287678fcc9b2198f..e01539c33b8a7a28e7ef4cf610ede9ba03fe1f00 100644
(file)
--- 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)
len, cqe, comp_ring_cons);
#ifdef BNX2X_STOP_ON_ERROR
if (bp->panic)
- return
-EINVAL
;
+ return
0
;
#endif
bnx2x_update_sge_prod(fp,