View | Details | Raw Unified | Return to bug 210023
Collapse All | Expand All

(-)b/sys/ofed/drivers/infiniband/hw/mlx4/main.c (-2 / +2 lines)
Lines 1840-1846 static int mlx4_ib_init_gid_table(struct mlx4_ib_dev *ibdev) Link Here
1840
       if (reset_gid_table(ibdev))
1840
       if (reset_gid_table(ibdev))
1841
               return -1;
1841
               return -1;
1842
        IFNET_RLOCK_NOSLEEP();
1842
        IFNET_RLOCK();
1843
        TAILQ_FOREACH(dev, &V_ifnet, if_link) {
1843
        TAILQ_FOREACH(dev, &V_ifnet, if_link) {
1844
               u8 port = mlx4_ib_get_dev_port(dev, ibdev);
1844
               u8 port = mlx4_ib_get_dev_port(dev, ibdev);
1845
               if (port) {
1845
               if (port) {
Lines 1851-1857 static int mlx4_ib_init_gid_table(struct mlx4_ib_dev *ibdev) Link Here
1851
               }
1851
               }
1852
       }
1852
       }
1853
        IFNET_RUNLOCK_NOSLEEP();
1853
        IFNET_RUNLOCK();
1854
       return 0;
1854
       return 0;
1855
}
1855
}

Return to bug 210023