Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237532
b: refs/heads/master
c: 16a7fd3
h: refs/heads/master
v: v3
  • Loading branch information
Tinggong Wang authored and Simon Horman committed Feb 15, 2011
1 parent f9af5aa commit de0b2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8248779b1878f17cce2bb809831f4f2a252bdb77
refs/heads/master: 16a7fd323f93eab88df79fc647575ae9789037c2
4 changes: 2 additions & 2 deletions trunk/net/netfilter/ipvs/ip_vs_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ get_curr_sync_buff(struct netns_ipvs *ipvs, unsigned long time)
struct ip_vs_sync_buff *sb;

spin_lock_bh(&ipvs->sync_buff_lock);
if (ipvs->sync_buff && (time == 0 ||
time_before(jiffies - ipvs->sync_buff->firstuse, time))) {
if (ipvs->sync_buff &&
time_after_eq(jiffies - ipvs->sync_buff->firstuse, time)) {
sb = ipvs->sync_buff;
ipvs->sync_buff = NULL;
} else
Expand Down

0 comments on commit de0b2f5

Please sign in to comment.