Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73792
b: refs/heads/master
c: d90bf5a
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 15, 2007
1 parent a1b6deb commit 4b4511b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66ba886254edbbd9442d30f1eef6f6fb0145027d
refs/heads/master: d90bf5a976793edfa88d3bb2393f0231eb8ce1e5
3 changes: 3 additions & 0 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,9 @@ static void rt_check_expire(struct work_struct *work)
i = (i + 1) & rt_hash_mask;
rthp = &rt_hash_table[i].chain;

if (need_resched())
cond_resched();

if (*rthp == NULL)
continue;
spin_lock_bh(rt_hash_lock_addr(i));
Expand Down

0 comments on commit 4b4511b

Please sign in to comment.