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: v4.3-rc1~96^2~141^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4afbc0db720555f1bf0dd9f3e112819041231818;p=platform%2Fkernel%2Flinux-exynos.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;