Thread (2 messages) 2 messages, 2 authors, 2014-10-31

Re: [Patch net-next] neigh: remove dynamic neigh table registration support

From: Cong Wang <hidden>
Date: 2014-10-31 20:39:24

On Fri, Oct 31, 2014 at 1:34 PM, Cong Wang [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help