[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1386661497-1688-1-git-send-email-jiri@resnulli.us>
Date: Tue, 10 Dec 2013 08:44:57 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net
Subject: [patch net-next] neighbour: always have struct net pointer in struct neigh_parms
This fixes compile error when CONFIG_NET_NS is not set.
Introduced by:
commit 1d4c8c29841b9991cdf3c7cc4ba7f96a94f104ca
"neigh: restore old behaviour of default parms values"
Signed-off-by: Jiri Pirko <jiri@...nulli.us>
---
include/net/neighbour.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 41b1ce6..157c038 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -65,9 +65,7 @@ enum {
};
struct neigh_parms {
-#ifdef CONFIG_NET_NS
struct net *net;
-#endif
struct net_device *dev;
struct neigh_parms *next;
int (*neigh_setup)(struct neighbour *);
--
1.8.3.1
--
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