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.
From: Cyrill Gorcunov <[email protected]>
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 <[email protected]>
CC: Vladimir Davydov <[email protected]>
CC: Konstantin Khorenko <[email protected]>
CC: Vladimir Sementsov-Ogievskiy <[email protected]>
---
 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.
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to