Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40051
b: refs/heads/master
c: 6723ab5
h: refs/heads/master
i:
  40049: 9b01bda
  40047: c9b9da4
v: v3
  • Loading branch information
David S. Miller committed Oct 19, 2006
1 parent 7ffcf46 commit 615493a
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 6ba7511b7c8b71d5148f7516584d0b677acc384a
refs/heads/master: 6723ab549df777742801716d7aeea397e6e97f2c
11 changes: 8 additions & 3 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ static int ip6_dst_gc(void);

static int ip6_pkt_discard(struct sk_buff *skb);
static int ip6_pkt_discard_out(struct sk_buff *skb);
static int ip6_pkt_prohibit(struct sk_buff *skb);
static int ip6_pkt_prohibit_out(struct sk_buff *skb);
static int ip6_pkt_blk_hole(struct sk_buff *skb);
static void ip6_link_failure(struct sk_buff *skb);
static void ip6_rt_update_pmtu(struct dst_entry *dst, u32 mtu);

Expand Down Expand Up @@ -144,6 +141,10 @@ struct rt6_info ip6_null_entry = {

#ifdef CONFIG_IPV6_MULTIPLE_TABLES

static int ip6_pkt_prohibit(struct sk_buff *skb);
static int ip6_pkt_prohibit_out(struct sk_buff *skb);
static int ip6_pkt_blk_hole(struct sk_buff *skb);

struct rt6_info ip6_prohibit_entry = {
.u = {
.dst = {
Expand Down Expand Up @@ -1768,6 +1769,8 @@ static int ip6_pkt_discard_out(struct sk_buff *skb)
return ip6_pkt_discard(skb);
}

#ifdef CONFIG_IPV6_MULTIPLE_TABLES

static int ip6_pkt_prohibit(struct sk_buff *skb)
{
return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED);
Expand All @@ -1785,6 +1788,8 @@ static int ip6_pkt_blk_hole(struct sk_buff *skb)
return 0;
}

#endif

/*
* Allocate a dst for local (unicast / anycast) address.
*/
Expand Down

0 comments on commit 615493a

Please sign in to comment.