From: Eric Dumazet Date: Wed, 12 Nov 2008 08:53:30 +0000 (-0800) Subject: net: Introduce read_pnet() and write_pnet() helpers X-Git-Tag: v2.6.29-rc1~581^2~730 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f424b5f32d78b4f353b3cddca9804808ef063eb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed