6lowpan: Don't set IFF_NO_QUEUE
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 11 Apr 2017 19:20:58 +0000 (22:20 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:40 +0000 (22:02 +0200)
There is no point in setting IFF_NO_QUEUE should already have taken
care of setting it if tx_queue_len is not set, in fact this may
actually disable queue for interfaces that require it and do set
tx_queue_len.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/core.c

index 5f9909a..40d3d72 100644 (file)
@@ -35,7 +35,6 @@ int lowpan_register_netdevice(struct net_device *dev,
 
        dev->type = ARPHRD_6LOWPAN;
        dev->mtu = IPV6_MIN_MTU;
-       dev->priv_flags |= IFF_NO_QUEUE;
 
        lowpan_dev(dev)->lltype = lltype;