Commit 17cb4006 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by David S. Miller

bnx2x: do not return negative number of received packages

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd21ca6d
...@@ -1546,7 +1546,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) ...@@ -1546,7 +1546,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget)
len, cqe, comp_ring_cons); len, cqe, comp_ring_cons);
#ifdef BNX2X_STOP_ON_ERROR #ifdef BNX2X_STOP_ON_ERROR
if (bp->panic) if (bp->panic)
return -EINVAL; return 0;
#endif #endif
bnx2x_update_sge_prod(fp, bnx2x_update_sge_prod(fp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment