Alexey Dobriyan wrote:
+static inline struct net *ct_net(const struct nf_conn *ct) +{ +#ifdef CONFIG_NET_NS + return ct->ct_net; +#else + return &init_net; +#endif +}
For consistency I'd prefer nf_ct_net(). I know this naming scheme isn't used consistenly currently, but we're moving towards it. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html