summaryrefslogtreecommitdiff
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-08-18 10:30:29 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-18 11:55:04 -0700
commit02f01ec1c5c697e0f84b9e58bf9a294a3a1b348e (patch)
tree434756de1c7f6bdcf71e8c30cbf01dd9be5cbf40 /drivers/net/veth.c
parent0b233dc7167884f95f08e796ac6a6767ae7d0d70 (diff)
downloadlinux-next-02f01ec1c5c697e0f84b9e58bf9a294a3a1b348e.tar.gz
net: veth: enable noqueue operation by default
Signed-off-by: Phil Sutter <phil@nwl.cc> Cc: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r--drivers/net/veth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 343592c4315f..0ef4a5ad5557 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -306,6 +306,7 @@ static void veth_setup(struct net_device *dev)
dev->priv_flags &= ~IFF_TX_SKB_SHARING;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
+ dev->priv_flags |= IFF_NO_QUEUE;
dev->netdev_ops = &veth_netdev_ops;
dev->ethtool_ops = &veth_ethtool_ops;