[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081112.042423.237213345.davem@davemloft.net>
Date: Wed, 12 Nov 2008 04:24:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: dada1@...mosbay.com, netdev@...r.kernel.org
Subject: Re: [PATCH v3] net: #ifdef inet_bind_bucket::ib_net
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Wed, 12 Nov 2008 15:24:48 +0300
> +static inline void ib_net_set(struct inet_bind_bucket *ib, struct net *net)
> +{
> +#ifdef CONFIG_NET_NS
> + ib->ib_net = net;
> +#endif
> +}
> +
It's basically read_pnet() hidden behind another name.
And you'll add new "aliases" for read_pnet() over and over
again.
That makes no sense to me.
I like read_pnet() much better, and the only thing that
can be improved is read_pnet()'d name (along with the
name of every other similar interface already in
net_namespace.h)
--
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