This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / core / rtnetlink.c
index 2a8e289..52641b0 100644 (file)
@@ -251,9 +251,6 @@ int rtnetlink_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb)
        for (dev=dev_base, idx=0; dev; dev = dev->next, idx++) {
                if (idx < s_idx)
                        continue;
-               if (vx_info_flags(skb->sk->sk_vx_info, VXF_HIDE_NETIF, 0) &&
-                       !dev_in_nx_info(dev, skb->sk->sk_nx_info))
-                       continue;
                if (rtnetlink_fill_ifinfo(skb, dev, RTM_NEWLINK, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, 0) <= 0)
                        break;
        }
@@ -419,9 +416,6 @@ void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change)
                               sizeof(struct rtnl_link_ifmap) +
                               sizeof(struct rtnl_link_stats) + 128);
 
-       if (vx_flags(VXF_HIDE_NETIF, 0) &&
-               !dev_in_nx_info(dev, current->nx_info))
-               return;
        skb = alloc_skb(size, GFP_KERNEL);
        if (!skb)
                return;