[Devel] [PATCH rhel7 v2] ve/tun: Make config to dep on TUN

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Oct 16 05:16:30 PDT 2015


On Fri, Oct 16, 2015 at 03:12:16PM +0300, Cyrill Gorcunov wrote:
> Tun accounting uses tun diver so it should be shown
> iif TUN is selected, also it should be M by default
> as for general net accounting.

Heh, actually 'm' here would be useless. Update attached.
-------------- next part --------------
From: Cyrill Gorcunov <gorcunov at virtuozzo.com>
Subject: [PATCH] ve/tun: Make config to dep on TUN

Tun accounting uses tun diver so it should be shown
iif TUN is selected.

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
CC: Vladimir Davydov <vdavydov at virtuozzo.com>
CC: Konstantin Khorenko <khorenko at virtuozzo.com>
CC: Vladimir Sementsov-Ogievskiy <vsementsov at virtuozzo.com>
---
 kernel/Kconfig.openvz |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-pcs7.git/kernel/Kconfig.openvz
===================================================================
--- linux-pcs7.git.orig/kernel/Kconfig.openvz
+++ linux-pcs7.git/kernel/Kconfig.openvz
@@ -106,7 +106,7 @@ config VZ_IOLIMIT
 
 config VE_TUNTAP_ACCOUNTING
 	bool "Accounting for tun/tap devices"
-	depends on VE_NETDEV_ACCOUNTING
+	depends on VE_NETDEV_ACCOUNTING && TUN
 	default y
 	help
 	   This option enables accounting for tun/tap devices.


More information about the Devel mailing list