|
@@ -130,7 +130,7 @@ static const struct net_device_ops nlmon_ops = {
|
|
static void nlmon_setup(struct net_device *dev)
|
|
static void nlmon_setup(struct net_device *dev)
|
|
{
|
|
{
|
|
dev->type = ARPHRD_NETLINK;
|
|
dev->type = ARPHRD_NETLINK;
|
|
- dev->tx_queue_len = 0;
|
|
|
|
|
|
+ dev->priv_flags |= IFF_NO_QUEUE;
|
|
|
|
|
|
dev->netdev_ops = &nlmon_ops;
|
|
dev->netdev_ops = &nlmon_ops;
|
|
dev->ethtool_ops = &nlmon_ethtool_ops;
|
|
dev->ethtool_ops = &nlmon_ethtool_ops;
|