vhost: fix TUN=m VHOST_NET=y
[firefly-linux-kernel-4.4.55.git] / drivers / vhost / Kconfig
index 9f409f447aeaf3a8c30ba286a8085dfc4d38969d..9e9355367bb3a6716ef113c8d985e4d0dfc09565 100644 (file)
@@ -1,6 +1,6 @@
 config VHOST_NET
        tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)"
-       depends on NET && EVENTFD && EXPERIMENTAL
+       depends on NET && EVENTFD && (TUN || !TUN) && EXPERIMENTAL
        ---help---
          This kernel module can be loaded in host kernel to accelerate
          guest networking with virtio_net. Not to be confused with virtio_net