The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at 
https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit 6b4bc35aae982be4b4842143ffc85e1ebbf6cfe8
Author: Vasily Averin <v...@virtuozzo.com>
Date:   Tue Oct 12 16:18:25 2021 +0300

    openvswitch: allow to create ovs bridges inside Containers
    
    openvswitch briges are used by Weave net plugin for Kubernetes.
    
    https://jira.sw.ru/browse/PSBM-92107
    
    Signed-off-by: Konstantin Khorenko <khore...@virtuozzo.com>
    
    (cherry picked from vz7 commit 8ed1b4ae93bc ("openvswitch: allow to create 
ovs
    bridges inside Containers"))
    
    Signed-off-by: Vasily Averin <v...@virtuozzo.com>
---
 net/openvswitch/vport-internal_dev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/openvswitch/vport-internal_dev.c 
b/net/openvswitch/vport-internal_dev.c
index 2ab8a7e06d4b..334185261746 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -110,7 +110,8 @@ static void do_setup(struct net_device *netdev)
 
        netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST |
                           NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |
-                          NETIF_F_GSO_SOFTWARE | NETIF_F_GSO_ENCAP_ALL;
+                          NETIF_F_GSO_SOFTWARE | NETIF_F_GSO_ENCAP_ALL |
+                          NETIF_F_VIRTUAL;
 
        netdev->vlan_features = netdev->features;
        netdev->hw_enc_features = netdev->features;
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to