mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/ipmr-2.6
This commit is contained in:
commit
bf47f4b0ba
7 changed files with 703 additions and 298 deletions
|
|
@ -229,6 +229,20 @@ config IPV6_MROUTE
|
|||
Experimental support for IPv6 multicast forwarding.
|
||||
If unsure, say N.
|
||||
|
||||
config IPV6_MROUTE_MULTIPLE_TABLES
|
||||
bool "IPv6: multicast policy routing"
|
||||
depends on IPV6_MROUTE
|
||||
select FIB_RULES
|
||||
help
|
||||
Normally, a multicast router runs a userspace daemon and decides
|
||||
what to do with a multicast packet based on the source and
|
||||
destination addresses. If you say Y here, the multicast router
|
||||
will also be able to take interfaces and packet marks into
|
||||
account and run multiple instances of userspace daemons
|
||||
simultaneously, each one handling a single table.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config IPV6_PIMSM_V2
|
||||
bool "IPv6: PIM-SM version 2 support (EXPERIMENTAL)"
|
||||
depends on IPV6_MROUTE
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ static int ip6_finish_output2(struct sk_buff *skb)
|
|||
struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb));
|
||||
|
||||
if (!(dev->flags & IFF_LOOPBACK) && sk_mc_loop(skb->sk) &&
|
||||
((mroute6_socket(dev_net(dev)) &&
|
||||
((mroute6_socket(dev_net(dev), skb) &&
|
||||
!(IP6CB(skb)->flags & IP6SKB_FORWARDED)) ||
|
||||
ipv6_chk_mcast_addr(dev, &ipv6_hdr(skb)->daddr,
|
||||
&ipv6_hdr(skb)->saddr))) {
|
||||
|
|
|
|||
932
net/ipv6/ip6mr.c
932
net/ipv6/ip6mr.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue