[IB/ipoib]: Fix unsigned comparisons to handle wraparound
authorRoland Dreier <roland@eddore.topspincom.com>
Wed, 27 Jul 2005 21:41:32 +0000 (14:41 -0700)
committerRoland Dreier <roland@eddore.topspincom.com>
Wed, 27 Jul 2005 21:41:32 +0000 (14:41 -0700)
commit2181858bb814b51de8ec25b3ddd37cd06c53b0c9
tree2fb09b6a44e17c0c3c85512a6c0ba7f5a983c0b0
parentabdf119b4dad015803819c3d046d20cfbd393e87
[IB/ipoib]: Fix unsigned comparisons to handle wraparound

Fix handling of tx_head/tx_tail comparisons to handle wraparound.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_ib.c