--- zzzz-none-000/linux-2.6.32.60/include/net/netns/hash.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/include/net/netns/hash.h 2011-01-18 10:33:14.000000000 +0000 @@ -5,7 +5,11 @@ struct net; -static inline unsigned net_hash_mix(struct net *net) +static inline unsigned net_hash_mix(struct net *net +#ifndef CONFIG_NET_NS + __attribute__((unused)) +#endif/*--- #ifndef CONFIG_NET_NS ---*/ + ) { #ifdef CONFIG_NET_NS /*