Reference

netdev_is_rx_handler_busy(9)

check if receive handler is registered

NAME

netdev_is_rx_handler_busy - check if receive handler is registered

SYNOPSIS

bool netdev_is_rx_handler_busy(struct net_device * dev);

ARGUMENTS

dev

device to check

DESCRIPTION

Check if a receive handler is already registered for a given device. Return true if there one.

The caller must hold the rtnl_mutex.

COPYRIGHT