From: "Michael Chan" <[EMAIL PROTECTED]>
Date: Wed, 13 Dec 2006 18:30:33 -0800
> [BNX2]: Fix panic in bnx2_tx_int().
>
> There was an off-by-one bug in bnx2_tx_avail(). If the tx ring is
> completely full, the producer and consumer indices may be apart by
> 256 even though the ring size is only
[BNX2]: Fix panic in bnx2_tx_int().
There was an off-by-one bug in bnx2_tx_avail(). If the tx ring is
completely full, the producer and consumer indices may be apart by
256 even though the ring size is only 255. One entry in the ring is
unused and must be properly accounted for when calculating