From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:38 +0000 (+0200) Subject: net: 6lowpan: convert to using IFF_NO_QUEUE X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~5986^2~141^2~11 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4afbc0db720555f1bf0dd9f3e112819041231818;p=mirror_ubuntu-zesty-kernel.git net: 6lowpan: convert to using IFF_NO_QUEUE Signed-off-by: Phil Sutter Cc: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/net/ieee802154/6lowpan/core.c b/net/ieee802154/6lowpan/core.c index 27c25ad935b4..953b1c49f5d1 100644 --- a/net/ieee802154/6lowpan/core.c +++ b/net/ieee802154/6lowpan/core.c @@ -90,7 +90,7 @@ static void lowpan_setup(struct net_device *dev) dev->hard_header_len = 2 + 1 + 20 + 14; dev->needed_tailroom = 2; /* FCS */ dev->mtu = IPV6_MIN_MTU; - dev->tx_queue_len = 0; + dev->priv_flags |= IFF_NO_QUEUE; dev->flags = IFF_BROADCAST | IFF_MULTICAST; dev->watchdog_timeo = 0;