Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e65db2b7 authored by Phil Sutter's avatar Phil Sutter Committed by David S. Miller
Browse files

net: loopback: convert to using IFF_NO_QUEUE



Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ed961ac2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -165,10 +165,9 @@ static void loopback_setup(struct net_device *dev)
	dev->mtu		= 64 * 1024;
	dev->hard_header_len	= ETH_HLEN;	/* 14	*/
	dev->addr_len		= ETH_ALEN;	/* 6	*/
	dev->tx_queue_len	= 0;
	dev->type		= ARPHRD_LOOPBACK;	/* 0x0001*/
	dev->flags		= IFF_LOOPBACK;
	dev->priv_flags		|= IFF_LIVE_ADDR_CHANGE;
	dev->priv_flags		|= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE;
	netif_keep_dst(dev);
	dev->hw_features	= NETIF_F_ALL_TSO | NETIF_F_UFO;
	dev->features 		= NETIF_F_SG | NETIF_F_FRAGLIST