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: <20100103.215855.267134875.davem@davemloft.net>
Date:	Sun, 03 Jan 2010 21:58:55 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	opurdila@...acom.com
Cc:	netdev@...r.kernel.org
Subject: Re: [net-next PATCH] ip: fix mc_loop checks for tunnels with
 multicast outer addresses

From: Octavian Purdila <opurdila@...acom.com>
Date: Wed, 30 Dec 2009 22:01:37 +0200

> +	switch (sk->sk_family) {
> +	case AF_INET:
> +		return inet_sk(sk)->mc_loop;
> +#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
> +	case AF_INET6:
> +		return inet6_sk(sk)->mc_loop;
> +	}
> +#endif
> +	__WARN();
> +	return 1;
> +}
> +

This won't compile with IPV6 disabled.  Switch closing brace is
erroneously inside of the ifdef test.

--
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