Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279082
b: refs/heads/master
c: c159d30
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Dec 26, 2011
1 parent 22a4b8b commit 099ce28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 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: e143a1ada39110f9596e4ffd4e0b8399e5ab88d4
refs/heads/master: c159d30c59dc84934f8ef46f934ce1232c558ecd
22 changes: 2 additions & 20 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@
#include <linux/sysctl.h>
#endif

/* Set to 3 to get tracing. */
#define RT6_DEBUG 2

#if RT6_DEBUG >= 3
#define RDBG(x) printk x
#define RT6_TRACE(x...) printk(KERN_DEBUG x)
#else
#define RDBG(x)
#define RT6_TRACE(x...) do { ; } while (0)
#endif

static struct rt6_info *ip6_rt_copy(const struct rt6_info *ort,
const struct in6_addr *dest);
static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie);
Expand Down Expand Up @@ -518,9 +507,6 @@ static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict)
struct rt6_info *match, *rt0;
struct net *net;

RT6_TRACE("%s(fn->leaf=%p, oif=%d)\n",
__func__, fn->leaf, oif);

rt0 = fn->rr_ptr;
if (!rt0)
fn->rr_ptr = rt0 = fn->leaf;
Expand All @@ -539,9 +525,6 @@ static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict)
fn->rr_ptr = next;
}

RT6_TRACE("%s() => %p\n",
__func__, match);

net = dev_net(rt0->rt6i_dev);
return match ? match : net->ipv6.ip6_null_entry;
}
Expand Down Expand Up @@ -2173,10 +2156,9 @@ static int fib6_ifdown(struct rt6_info *rt, void *arg)
const struct net_device *dev = adn->dev;

if ((rt->rt6i_dev == dev || !dev) &&
rt != adn->net->ipv6.ip6_null_entry) {
RT6_TRACE("deleted by ifdown %p\n", rt);
rt != adn->net->ipv6.ip6_null_entry)
return -1;
}

return 0;
}

Expand Down

0 comments on commit 099ce28

Please sign in to comment.