From: Zhang Shengju Date: Tue, 31 May 2016 13:41:02 +0000 (+0000) Subject: ovs: set name assign type of internal port X-Git-Tag: v5.15~13202^2~443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=684ff4ef5edd758c47929b852b4ea79be56f8bc0;p=platform%2Fkernel%2Flinux-starfive.git ovs: set name assign type of internal port Set name_assign_type of internal port to NET_NAME_USER. Signed-off-by: Zhang Shengju Acked-by: Pravin B Shelar Signed-off-by: David S. Miller --- diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 2ee48e4..434e04c 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/vport-internal_dev.c @@ -195,7 +195,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;