Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34704
b: refs/heads/master
c: 9123de2
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Sep 22, 2006
1 parent 0c459bd commit 127f604
Show file tree
Hide file tree
Showing 4 changed files with 4 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: 57dab5d0bfee21663ed20222b4cedeb0655ba1f3
refs/heads/master: 9123de2c043996050bacf77031cad845f5976f5d
1 change: 1 addition & 0 deletions trunk/include/linux/netfilter_ipv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ enum nf_ip6_hook_priorities {
};

#ifdef CONFIG_NETFILTER
extern int ip6_route_me_harder(struct sk_buff *skb);
extern unsigned int nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
unsigned int dataoff, u_int8_t protocol);

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/net/ip6_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ extern void ip6_route_input(struct sk_buff *skb);
extern struct dst_entry * ip6_route_output(struct sock *sk,
struct flowi *fl);

extern int ip6_route_me_harder(struct sk_buff *skb);

extern void ip6_route_init(void);
extern void ip6_route_cleanup(void);

Expand Down
8 changes: 2 additions & 6 deletions trunk/net/ipv6/netfilter/ip6table_mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,8 @@ ip6t_local_hook(unsigned int hook,
&& (memcmp(&(*pskb)->nh.ipv6h->saddr, &saddr, sizeof(saddr))
|| memcmp(&(*pskb)->nh.ipv6h->daddr, &daddr, sizeof(daddr))
|| (*pskb)->nfmark != nfmark
|| (*pskb)->nh.ipv6h->hop_limit != hop_limit)) {

/* something which could affect routing has changed */

DEBUGP("ip6table_mangle: we'd need to re-route a packet\n");
}
|| (*pskb)->nh.ipv6h->hop_limit != hop_limit))
return ip6_route_me_harder(*pskb) == 0 ? ret : NF_DROP;

return ret;
}
Expand Down

0 comments on commit 127f604

Please sign in to comment.