提交 17cb4006 编写于 作者: S Stanislaw Gruszka 提交者: David S. Miller

bnx2x: do not return negative number of received packages

Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册