]> err.no Git - linux-2.6/commit
[NET] NETNS: Omit neigh_parms->net and pneigh_entry->net without CONFIG_NET_NS.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 18:49:59 +0000 (03:49 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 19:39:58 +0000 (04:39 +0900)
commit57da52c1e62c6c13875e97de6c69d3156f8416da
treed29d201367194b64bde3dc38559b66c6bbd92503
parent1218854afa6f659be90b748cf1bc7badee954a35
[NET] NETNS: Omit neigh_parms->net and pneigh_entry->net without CONFIG_NET_NS.

Introduce neigh_parms/pneigh_entry inlines: neigh_parms_net(), pneigh_net().
Without CONFIG_NET_NS, no namespace other than &init_net exists.
Let's explicitly define them to help compiler optimizations.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/neighbour.h
net/core/neighbour.c