[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHA+R7MvCkS1p6CDgL9=DocTDDM-ZvC6A7vM8Z8sYGj45gX2-Q@mail.gmail.com>
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