Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33686
b: refs/heads/master
c: 76d0cc1
h: refs/heads/master
v: v3
  • Loading branch information
Lv Liangying authored and David S. Miller committed Aug 30, 2006
1 parent f591c81 commit 3dbd801
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fb6f732c389847dece403b7470d6d3d2778804a
refs/heads/master: 76d0cc1b64e1686b2b53e081c94142dd99f01ec5
4 changes: 4 additions & 0 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,10 @@ int ipv6_route_ioctl(unsigned int cmd, void __user *arg)

static int ip6_pkt_discard(struct sk_buff *skb)
{
int type = ipv6_addr_type(&skb->nh.ipv6h->daddr);
if (type == IPV6_ADDR_ANY || type == IPV6_ADDR_RESERVED)
IP6_INC_STATS(IPSTATS_MIB_INADDRERRORS);

IP6_INC_STATS(IPSTATS_MIB_OUTNOROUTES);
icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_NOROUTE, 0, skb->dev);
kfree_skb(skb);
Expand Down

0 comments on commit 3dbd801

Please sign in to comment.