IPoIB/cm: Fix reaping of stale connections
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Thu, 22 Mar 2007 21:32:09 +0000 (14:32 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 22 Mar 2007 21:32:09 +0000 (14:32 -0700)
commit60a596dab7c82bdfa5ee7abcee8e0ce385d4ef21
tree9ea93efa2d3b07e8ba867b1a154a9439a1c181ca
parent8559840c4ca3f2fff73a882803bc8916078fac1f
IPoIB/cm: Fix reaping of stale connections

The sense of the time_after_eq() test in ipoib_cm_stale_task() is
reversed so that only non-stale connections are reaped.  Fix this by
changing to time_before_eq().

Noticed by Pradeep Satyanarayana <pradeep@us.ibm.com>.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c