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] [day] [month] [year] [list]
Date:	Fri, 31 Oct 2014 13:39:23 -0700
From:	Cong Wang <cwang@...pensource.com>
To:	Cong Wang <xiyou.wangcong@...il.com>
Cc:	netdev <netdev@...r.kernel.org>,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: [Patch net-next] neigh: remove dynamic neigh table registration support

On Fri, Oct 31, 2014 at 1:34 PM, Cong Wang <xiyou.wangcong@...il.com> wrote:
> +       switch (family) {
> +       case AF_INET:
> +               tbl = neigh_tables[NEIGH_ARP_TABLE];
> +               break;
> +#if IS_ENABLED(CONFIG_IPV6)
> +       case AF_INET6:
> +               tbl = neigh_tables[NEIGH_ND_TABLE];
> +               break;
> +#endif
> +#if IS_ENABLED(CONFIG_DECNET)
> +       case AF_DECnet:
> +               tbl = neigh_tables[NEIGH_DN_TABLE];
> +               break;
> +#endif

These #ifdef's are not necessary, I will update it after getting other
feedbacks.
--
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