openvswitch briges are used by Weave net plugin for Kubernetes.

https://jira.sw.ru/browse/PSBM-92107

Signed-off-by: Konstantin Khorenko <[email protected]>
(cherry picked from vz7 commit 8ed1b4ae93bc7ee7752a55040b00647d8d07afb1)
Signed-off-by: Vasily Averin <[email protected]>
---
 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 a9bb6e5e11ad..8ba2618e6155 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -156,7 +156,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;
-- 
2.25.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to