Re: [PATCH net-next v9 8/9] net: openvswitch - set name assign type

2014-07-17 Thread Pravin Shelar
On Thu, Jul 17, 2014 at 1:06 AM, Tom Gundersen  wrote:
> Signed-off-by: Tom Gundersen 
> Cc: Pravin Shelar 
> Cc: d...@openvswitch.org
Looks good.

Acked-by: Pravin B Shelar 

> ---
>
> v9: set NET_NAME_USER directly in internal_dev_create as requested by Pravin 
> Shelar
>
>  net/openvswitch/vport-internal_dev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/openvswitch/vport-internal_dev.c 
> b/net/openvswitch/vport-internal_dev.c
> index bd65855..2741285 100644
> --- a/net/openvswitch/vport-internal_dev.c
> +++ b/net/openvswitch/vport-internal_dev.c
> @@ -165,7 +165,7 @@ static struct vport *internal_dev_create(const struct 
> vport_parms *parms)
> netdev_vport = netdev_vport_priv(vport);
>
> netdev_vport->dev = alloc_netdev(sizeof(struct internal_dev),
> -parms->name, NET_NAME_UNKNOWN,
> +parms->name, NET_NAME_USER,
>  do_setup);
> if (!netdev_vport->dev) {
> err = -ENOMEM;
> --
> 1.9.3
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH net-next v9 8/9] net: openvswitch - set name assign type

2014-07-17 Thread Tom Gundersen
Signed-off-by: Tom Gundersen 
Cc: Pravin Shelar 
Cc: d...@openvswitch.org
---

v9: set NET_NAME_USER directly in internal_dev_create as requested by Pravin 
Shelar

 net/openvswitch/vport-internal_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/openvswitch/vport-internal_dev.c 
b/net/openvswitch/vport-internal_dev.c
index bd65855..2741285 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -165,7 +165,7 @@ static struct vport *internal_dev_create(const struct 
vport_parms *parms)
netdev_vport = netdev_vport_priv(vport);
 
netdev_vport->dev = alloc_netdev(sizeof(struct internal_dev),
-parms->name, NET_NAME_UNKNOWN,
+parms->name, NET_NAME_USER,
 do_setup);
if (!netdev_vport->dev) {
err = -ENOMEM;
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH net-next v9 8/9] net: openvswitch - set name assign type

2014-07-17 Thread Tom Gundersen
Signed-off-by: Tom Gundersen t...@jklm.no
Cc: Pravin Shelar pshe...@nicira.com
Cc: d...@openvswitch.org
---

v9: set NET_NAME_USER directly in internal_dev_create as requested by Pravin 
Shelar

 net/openvswitch/vport-internal_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/openvswitch/vport-internal_dev.c 
b/net/openvswitch/vport-internal_dev.c
index bd65855..2741285 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -165,7 +165,7 @@ static struct vport *internal_dev_create(const struct 
vport_parms *parms)
netdev_vport = netdev_vport_priv(vport);
 
netdev_vport-dev = alloc_netdev(sizeof(struct internal_dev),
-parms-name, NET_NAME_UNKNOWN,
+parms-name, NET_NAME_USER,
 do_setup);
if (!netdev_vport-dev) {
err = -ENOMEM;
-- 
1.9.3

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH net-next v9 8/9] net: openvswitch - set name assign type

2014-07-17 Thread Pravin Shelar
On Thu, Jul 17, 2014 at 1:06 AM, Tom Gundersen t...@jklm.no wrote:
 Signed-off-by: Tom Gundersen t...@jklm.no
 Cc: Pravin Shelar pshe...@nicira.com
 Cc: d...@openvswitch.org
Looks good.

Acked-by: Pravin B Shelar pshe...@nicira.com

 ---

 v9: set NET_NAME_USER directly in internal_dev_create as requested by Pravin 
 Shelar

  net/openvswitch/vport-internal_dev.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/net/openvswitch/vport-internal_dev.c 
 b/net/openvswitch/vport-internal_dev.c
 index bd65855..2741285 100644
 --- a/net/openvswitch/vport-internal_dev.c
 +++ b/net/openvswitch/vport-internal_dev.c
 @@ -165,7 +165,7 @@ static struct vport *internal_dev_create(const struct 
 vport_parms *parms)
 netdev_vport = netdev_vport_priv(vport);

 netdev_vport-dev = alloc_netdev(sizeof(struct internal_dev),
 -parms-name, NET_NAME_UNKNOWN,
 +parms-name, NET_NAME_USER,
  do_setup);
 if (!netdev_vport-dev) {
 err = -ENOMEM;
 --
 1.9.3

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/