Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352400
b: refs/heads/master
c: dd40851
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Frederic Sowa authored and David S. Miller committed Feb 11, 2013
1 parent f703788 commit a9b8158
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 65ab999da808f72e3fe82be8f7d35050d3126005
refs/heads/master: dd40851521361e07c1f61e79cca941a63ad311bc
7 changes: 7 additions & 0 deletions trunk/net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ static int ip6_finish_output2(struct sk_buff *skb)

IP6_UPD_PO_STATS(dev_net(dev), idev, IPSTATS_MIB_OUTMCAST,
skb->len);

if (IPV6_ADDR_MC_SCOPE(&ipv6_hdr(skb)->daddr) <=
IPV6_ADDR_SCOPE_NODELOCAL &&
!(dev->flags & IFF_LOOPBACK)) {
kfree_skb(skb);
return 0;
}
}

rcu_read_lock_bh();
Expand Down

0 comments on commit a9b8158

Please sign in to comment.