]> err.no Git - linux-2.6/commit
[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 12:47:49 +0000 (21:47 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 19:39:53 +0000 (04:39 +0900)
commitc346dca10840a874240c78efe3f39acf4312a1f2
treec04cff20124eba5cc337cc5ec260ad2513eeb065
parent7cbca67c073263c179f605bdbbdc565ab29d801d
[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.

Introduce per-net_device inlines: dev_net(), dev_net_set().
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>
87 files changed:
arch/ia64/hp/sim/simeth.c
drivers/block/aoe/aoenet.c
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
drivers/net/hamradio/bpqether.c
drivers/net/loopback.c
drivers/net/macvlan.c
drivers/net/pppoe.c
drivers/net/veth.c
drivers/net/via-velocity.c
drivers/net/wan/dlci.c
drivers/net/wan/hdlc.c
drivers/net/wan/lapbether.c
drivers/net/wan/syncppp.c
drivers/s390/net/qeth_l3_main.c
include/linux/inetdevice.h
include/linux/netdevice.h
net/8021q/vlan.c
net/8021q/vlan_dev.c
net/appletalk/aarp.c
net/appletalk/ddp.c
net/atm/clip.c
net/atm/mpc.c
net/ax25/af_ax25.c
net/ax25/ax25_in.c
net/bridge/br_notify.c
net/bridge/br_stp_bpdu.c
net/can/af_can.c
net/can/bcm.c
net/can/raw.c
net/core/dev.c
net/core/dst.c
net/core/fib_rules.c
net/core/neighbour.c
net/core/pktgen.c
net/core/rtnetlink.c
net/decnet/af_decnet.c
net/decnet/dn_route.c
net/econet/af_econet.c
net/ipv4/arp.c
net/ipv4/devinet.c
net/ipv4/fib_frontend.c
net/ipv4/icmp.c
net/ipv4/igmp.c
net/ipv4/ip_fragment.c
net/ipv4/ip_gre.c
net/ipv4/ip_input.c
net/ipv4/ip_options.c
net/ipv4/ipconfig.c
net/ipv4/ipmr.c
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/ipt_MASQUERADE.c
net/ipv4/raw.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv4/xfrm4_policy.c
net/ipv6/addrconf.c
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/netfilter/ip6_queue.c
net/ipv6/proc.c
net/ipv6/raw.c
net/ipv6/reassembly.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/ipv6/xfrm6_policy.c
net/ipx/af_ipx.c
net/irda/irlap_frame.c
net/llc/llc_input.c
net/netfilter/core.c
net/netfilter/nfnetlink_queue.c
net/netlabel/netlabel_unlabeled.c
net/netrom/af_netrom.c
net/packet/af_packet.c
net/rose/af_rose.c
net/sctp/protocol.c
net/tipc/eth_media.c
net/wireless/wext.c
net/x25/af_x25.c
net/x25/x25_dev.c
net/xfrm/xfrm_policy.c
security/selinux/netif.c