Lines Matching refs:nh_dev
93 if (nh->nh_dev)
94 dev_put(nh->nh_dev);
95 nh->nh_dev = NULL;
218 nh->nh_dev = dev;
240 nh->nh_dev = DN_FIB_RES_DEV(res);
241 if (nh->nh_dev == NULL)
243 dev_hold(nh->nh_dev);
245 if (!(nh->nh_dev->flags & IFF_UP))
262 nh->nh_dev = dev;
263 dev_hold(nh->nh_dev);
357 nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif);
359 if (nh->nh_dev == NULL)
683 else if (nh->nh_dev == dev &&
718 if (nh->nh_dev == NULL || !(nh->nh_dev->flags&IFF_UP))
720 if (nh->nh_dev != dev || dev->dn_ptr == NULL)