lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5117B306.4070402@yoshifuji.org>
Date:	Sun, 10 Feb 2013 23:47:34 +0900
From:	YOSHIFUJI Hideaki <hideaki@...hifuji.org>
To:	hannes@...essinduktion.org
CC:	netdev@...r.kernel.org, YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH] ipv6: by default join ff01::1 and in case of forwarding
 ff01::2 and ff05:2

> @@ -611,10 +617,15 @@ static void dev_forward_change(struct inet6_dev *idev)
>  	if (idev->cnf.forwarding)
>  		dev_disable_lro(dev);
>  	if (dev->flags & IFF_MULTICAST) {
> -		if (idev->cnf.forwarding)
> +		if (idev->cnf.forwarding) {
>  			ipv6_dev_mc_inc(dev, &in6addr_linklocal_allrouters);
> -		else
> +			ipv6_dev_mc_inc(dev, &in6addr_interfacelocal_allrouters);
> +			ipv6_dev_mc_inc(dev, &in6addr_sitelocal_allrouters);
> +		} else {
>  			ipv6_dev_mc_dec(dev, &in6addr_linklocal_allrouters);
> +			ipv6_dev_mc_dec(dev, &in6addr_interfacelocal_allrouters);
> +			ipv6_dev_mc_inc(dev, &in6addr_sitelocal_allrouters);
                                    ~~~dec?
> +		}
>  	}

--yoshfuji

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ