diff options
| author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-05-31 09:41:02 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-02 18:05:47 -0400 |
| commit | 684ff4ef5edd758c47929b852b4ea79be56f8bc0 (patch) | |
| tree | 0534f63a29ede96f6495fb6eee2617bf3ec780ec /net/openvswitch | |
| parent | 41cae08c76c60281a5a089e9c9dcc84803c3f43d (diff) | |
ovs: set name assign type of internal port
Set name_assign_type of internal port to NET_NAME_USER.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
| -rw-r--r-- | net/openvswitch/vport-internal_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 2ee48e447b72..434e04c3a189 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) | |||
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | vport->dev = alloc_netdev(sizeof(struct internal_dev), | 197 | vport->dev = alloc_netdev(sizeof(struct internal_dev), |
| 198 | parms->name, NET_NAME_UNKNOWN, do_setup); | 198 | parms->name, NET_NAME_USER, do_setup); |
| 199 | if (!vport->dev) { | 199 | if (!vport->dev) { |
| 200 | err = -ENOMEM; | 200 | err = -ENOMEM; |
| 201 | goto error_free_vport; | 201 | goto error_free_vport; |
