[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <485F7595.7030609@trash.net>
Date: Mon, 23 Jun 2008 12:06:13 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Alexey Dobriyan <adobriyan@...il.com>
CC: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
den@...nvz.org, xemul@...nvz.org, ebiederm@...ssion.com,
benjamin.thery@...l.net, dlezcano@...ibm.com
Subject: Re: [PATCH 04/25] netns ct: point from conntrack to netns
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 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