diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 10:30:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 11:55:04 -0700 |
commit | 02f01ec1c5c697e0f84b9e58bf9a294a3a1b348e (patch) | |
tree | 434756de1c7f6bdcf71e8c30cbf01dd9be5cbf40 /drivers/net/veth.c | |
parent | 0b233dc7167884f95f08e796ac6a6767ae7d0d70 (diff) | |
download | op-kernel-dev-02f01ec1c5c697e0f84b9e58bf9a294a3a1b348e.zip op-kernel-dev-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 343592c..0ef4a5a 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; |