Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315802
b: refs/heads/master
c: 93ac534
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 20, 2012
1 parent 8f12bed commit 961294a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ba3f7f04ef2b19aace38f855aedd17fe43035d50
refs/heads/master: 93ac53410a82a4f1bf2baf9d65d95cc29f2774ca
6 changes: 3 additions & 3 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ static int __mkroute_input(struct sk_buff *skb,
if (!(flags & RTCF_DIRECTSRC) && !itag) {
rth = FIB_RES_NH(*res).nh_rth_input;
if (rt_cache_valid(rth)) {
dst_use(&rth->dst, jiffies);
dst_hold(&rth->dst);
goto out;
}
do_cache = true;
Expand Down Expand Up @@ -1619,7 +1619,7 @@ out: return err;
if (!(flags & RTCF_DIRECTSRC) && !itag) {
rth = FIB_RES_NH(res).nh_rth_input;
if (rt_cache_valid(rth)) {
dst_use(&rth->dst, jiffies);
dst_hold(&rth->dst);
goto set_and_out;
}
do_cache = true;
Expand Down Expand Up @@ -1789,7 +1789,7 @@ static struct rtable *__mkroute_output(const struct fib_result *res,
if (!fnhe) {
rth = FIB_RES_NH(*res).nh_rth_output;
if (rt_cache_valid(rth)) {
dst_use(&rth->dst, jiffies);
dst_hold(&rth->dst);
return rth;
}
}
Expand Down

0 comments on commit 961294a

Please sign in to comment.