Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232458
b: refs/heads/master
c: d80bc0f
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jan 25, 2011
1 parent 6e160c5 commit baecd38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 3dce38a02d6370dca690cd923619d4b00024b723
refs/heads/master: d80bc0fd262ef840ed4e82593ad6416fa1ba3fc4
9 changes: 1 addition & 8 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@
#define RT6_TRACE(x...) do { ; } while (0)
#endif

#define CLONE_OFFLINK_ROUTE 0

static struct rt6_info * ip6_rt_copy(struct rt6_info *ort);
static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie);
static unsigned int ip6_default_advmss(const struct dst_entry *dst);
Expand Down Expand Up @@ -738,13 +736,8 @@ static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,

if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP))
nrt = rt6_alloc_cow(rt, &fl->fl6_dst, &fl->fl6_src);
else {
#if CLONE_OFFLINK_ROUTE
else
nrt = rt6_alloc_clone(rt, &fl->fl6_dst);
#else
goto out2;
#endif
}

dst_release(&rt->dst);
rt = nrt ? : net->ipv6.ip6_null_entry;
Expand Down

0 comments on commit baecd38

Please sign in to comment.