dev_hold(9) get reference to device

SYNOPSIS

void dev_hold(struct net_device * dev);

ARGUMENTS

dev

network device

DESCRIPTION

Hold reference to device to keep it from being freed.

COPYRIGHT