[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081112.005342.156066202.davem@davemloft.net>
Date: Wed, 12 Nov 2008 00:53:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: adobriyan@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] nets: Introduce read_pnet() and write_pnet() helpers
From: Eric Dumazet <dada1@...mosbay.com>
Date: Wed, 12 Nov 2008 07:20:46 +0100
> [PATCH] nets: Introduce read_pnet() and write_pnet() helpers
>
> This patch introduces two helpers that deal with reading and writing
> struct net pointers in various network structures.
>
> Their implementation depends on CONFIG_NET_NS
>
> For symmetry, both functions work with "struct net **pnet".
>
> Their usage should reduce the number of #ifdef CONFIG_NET_NS,
> without adding many helpers for each network structure
> that hold a "struct net *pointer"
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Applied.
--
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