linux/drivers/infiniband/hw
Michael Albaugh 2889d1ef12 IB/ipath: Fix count of packets received by kernel
The loop in ipath_kreceive() that processes packets increments the
loop-index 'i' once too often, because the exit condition does not
depend on it, and is checked after the increment. By adding a check for
!last to the iterator in the for loop, we correct that in a way that is
not so likely to be re-broken by changes in the loop body.

Signed-off-by: Michael Albaugh <micheal.albaugh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-05-07 10:59:23 -07:00
..
amso1100 IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
cxgb3 RDMA/cxgb3: Fix severe limit on userspace memory registration size 2008-05-06 15:56:22 -07:00
ehca IB/ehca: Fix function return types 2008-05-05 15:51:49 -07:00
ipath IB/ipath: Fix count of packets received by kernel 2008-05-07 10:59:23 -07:00
mlx4 IB/mlx4: Fix off-by-one errors in calls to mlx4_ib_free_cq_buf() 2008-04-30 19:52:55 -07:00
mthca IB/mthca: Avoid changing userspace ABI to handle DMA write barrier attribute 2008-04-29 13:46:53 -07:00
nes RDMA/nes: Formatting cleanup 2008-04-29 13:46:54 -07:00