1 diff -Nurb linux-2.6.27.10-clickport/net/core/dev.c trellis2/net/core/dev.c
2 --- linux-2.6.27.10-clickport/net/core/dev.c 2009-01-27 16:02:45.000000000 -0500
3 +++ trellis2/net/core/dev.c 2009-02-12 11:00:46.000000000 -0500
7 for_each_netdev(net, dev) {
8 - if (!nx_dev_visible(current->nx_info, dev))
9 + if (net==&init_net && !nx_dev_visible(current->nx_info, dev))
11 for (i = 0; i < NPROTO; i++) {
12 if (gifconf_list[i]) {
14 static void dev_seq_printf_stats(struct seq_file *seq, struct net_device *dev)
16 struct net_device_stats *stats = dev->get_stats(dev);
17 + struct net *net = seq->private;
19 - if (!nx_dev_visible(current->nx_info, dev))
20 + if (net==&init_net && !nx_dev_visible(current->nx_info, dev))
23 seq_printf(seq, "%6s:%8lu %7lu %4lu %4lu %4lu %5lu %10lu %9lu "