upstream commit:
    commit 684ff4ef5edd758c47929b852b4ea79be56f8bc0
    Author: Zhang Shengju <zhangshen...@cmss.chinamobile.com>

    ovs: set name assign type of internal port

    Set name_assign_type of internal port to NET_NAME_USER.

    Signed-off-by: Zhang Shengju <zhangshen...@cmss.chinamobile.com>
    Acked-by: Pravin B Shelar <pshe...@ovn.org>
    Signed-off-by: David S. Miller <da...@davemloft.net>

Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
 datapath/vport-internal_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c
index 2ce3c3a..794f480 100644
--- a/datapath/vport-internal_dev.c
+++ b/datapath/vport-internal_dev.c
@@ -200,7 +200,7 @@ static struct vport *internal_dev_create(const struct 
vport_parms *parms)
        }
 
        vport->dev = alloc_netdev(sizeof(struct internal_dev),
-                                 parms->name, NET_NAME_UNKNOWN, do_setup);
+                                 parms->name, NET_NAME_USER, do_setup);
        if (!vport->dev) {
                err = -ENOMEM;
                goto error_free_vport;
-- 
1.9.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to