Eric Dumazet 8f424b5f32 net: 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@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-12 00:53:30 -08:00
..
2008-10-22 18:54:47 -05:00
2008-10-31 00:56:49 -07:00
2008-10-31 00:56:49 -07:00
2008-09-12 16:30:20 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2008-11-11 17:25:22 -08:00
2008-07-05 21:26:57 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-10-16 11:21:47 -07:00
2008-06-11 21:00:38 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2008-06-11 21:00:38 -07:00
2008-11-04 14:45:58 -08:00
2008-07-05 21:25:39 -07:00
2008-10-07 14:18:42 -07:00