Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223623
b: refs/heads/master
c: d3052b5
h: refs/heads/master
i:
  223621: f35d2b4
  223619: bf31114
  223615: 9ad19a9
v: v3
  • Loading branch information
Andrey Vagin authored and David S. Miller committed Dec 16, 2010
1 parent db26aa7 commit a344ad6
Show file tree
Hide file tree
Showing 2 changed files with 7 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: af3e5bd5f650163c2e12297f572910a1af1b8236
refs/heads/master: d3052b557a1c94c21f50465702fa886753ce6b43
7 changes: 6 additions & 1 deletion trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1565,11 +1565,16 @@ static void rt6_do_pmtu_disc(struct in6_addr *daddr, struct in6_addr *saddr,
{
struct rt6_info *rt, *nrt;
int allfrag = 0;

again:
rt = rt6_lookup(net, daddr, saddr, ifindex, 0);
if (rt == NULL)
return;

if (rt6_check_expired(rt)) {
ip6_del_rt(rt);
goto again;
}

if (pmtu >= dst_mtu(&rt->dst))
goto out;

Expand Down

0 comments on commit a344ad6

Please sign in to comment.