Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88518
b: refs/heads/master
c: b3b8128
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and Roland Dreier committed Apr 17, 2008
1 parent c89c771 commit 6085e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f438000f7a31fad7cfd27f33ad324a250f4cd2df
refs/heads/master: b3b8128fd3b0966830ee90f1162173d07cb496a0
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/hw/ipath/ipath_mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,8 @@ static int process_subn(struct ib_device *ibdev, int mad_flags,
}

/* Is the mkey in the process of expiring? */
if (dev->mkey_lease_timeout && jiffies >= dev->mkey_lease_timeout) {
if (dev->mkey_lease_timeout &&
time_after_eq(jiffies, dev->mkey_lease_timeout)) {
/* Clear timeout and mkey protection field. */
dev->mkey_lease_timeout = 0;
dev->mkeyprot = 0;
Expand Down

0 comments on commit 6085e67

Please sign in to comment.