Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322441
b: refs/heads/master
c: c5ae7d4
h: refs/heads/master
i:
  322439: 8bff252
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 30, 2012
1 parent c603643 commit 109fd48
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5c879d2094946081af934739850c7260e8b25d3c
refs/heads/master: c5ae7d41927dbd208c885d4794e30617ad6cdf12
2 changes: 2 additions & 0 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,12 +934,14 @@ static u32 __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu)
if (mtu < ip_rt_min_pmtu)
mtu = ip_rt_min_pmtu;

rcu_read_lock();
if (fib_lookup(dev_net(rt->dst.dev), fl4, &res) == 0) {
struct fib_nh *nh = &FIB_RES_NH(res);

update_or_create_fnhe(nh, fl4->daddr, 0, mtu,
jiffies + ip_rt_mtu_expires);
}
rcu_read_unlock();
return mtu;
}

Expand Down

0 comments on commit 109fd48

Please sign in to comment.