[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1439886649-24166-6-git-send-email-phil@nwl.cc>
Date: Tue, 18 Aug 2015 10:30:33 +0200
From: Phil Sutter <phil@....cc>
To: netdev@...r.kernel.org
Cc: brouer@...hat.com, davem@...emloft.net,
Daniel Borkmann <dborkman@...hat.com>
Subject: [PATCH 05/21] net: nlmon: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@....cc>
Cc: Daniel Borkmann <dborkman@...hat.com>
---
drivers/net/nlmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/nlmon.c b/drivers/net/nlmon.c
index 34924df..7b7c70e 100644
--- a/drivers/net/nlmon.c
+++ b/drivers/net/nlmon.c
@@ -130,7 +130,7 @@ static const struct net_device_ops nlmon_ops = {
static void nlmon_setup(struct net_device *dev)
{
dev->type = ARPHRD_NETLINK;
- dev->tx_queue_len = 0;
+ dev->priv_flags |= IFF_NO_QUEUE;
dev->netdev_ops = &nlmon_ops;
dev->ethtool_ops = &nlmon_ethtool_ops;
--
2.1.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists