public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver•com>
To: Pravin B Shelar <pshelar@nicira•com>
Cc: netdev@vger•kernel.org
Subject: Re: [PATCH v3 net-next 1/8] geneve: Initialize ethernet address in device setup.
Date: Wed, 26 Aug 2015 16:42:41 -0400	[thread overview]
Message-ID: <20150826204241.GB9495@tuxdriver.com> (raw)
In-Reply-To: <1440438195-5695-2-git-send-email-pshelar@nicira.com>

On Mon, Aug 24, 2015 at 10:43:08AM -0700, Pravin B Shelar wrote:
> Signed-off-by: Pravin B Shelar <pshelar@nicira•com>
> Reviewed-by: Jesse Gross <jesse@nicira•com>
> Acked-by: Thomas Graf <tgraf@suug•ch>
> ---
>  drivers/net/geneve.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
> index 897e1a3..95e9da0 100644
> --- a/drivers/net/geneve.c
> +++ b/drivers/net/geneve.c
> @@ -297,6 +297,7 @@ static void geneve_setup(struct net_device *dev)
>  
>  	netif_keep_dst(dev);
>  	dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE;
> +	eth_hw_addr_random(dev);
>  }
>  
>  static const struct nla_policy geneve_policy[IFLA_GENEVE_MAX + 1] = {
> @@ -364,9 +365,6 @@ static int geneve_newlink(struct net *net, struct net_device *dev,
>  			return -EBUSY;
>  	}
>  
> -	if (tb[IFLA_ADDRESS] == NULL)
> -		eth_hw_addr_random(dev);
> -
>  	err = register_netdevice(dev);
>  	if (err)
>  		return err;

Acked-by: John W. Linville <linville@tuxdriver•com>

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver•com			might be all we have.  Be ready.

  reply	other threads:[~2015-08-26 20:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 17:43 [PATCH v3 net-next 0/8] Geneve: Add support for tunnel metadata mode Pravin B Shelar
2015-08-24 17:43 ` [PATCH v3 net-next 1/8] geneve: Initialize ethernet address in device setup Pravin B Shelar
2015-08-26 20:42   ` John W. Linville [this message]
2015-08-24 17:43 ` [PATCH v3 net-next 2/8] geneve: Use skb mark and protocol to lookup route Pravin B Shelar
2015-08-26 20:46   ` John W. Linville
2015-08-24 17:43 ` [PATCH v3 net-next 3/8] tunnel: introduce udp_tun_rx_dst() Pravin B Shelar
2015-08-24 22:02   ` Jesse Gross
2015-08-25 17:46   ` Thomas Graf
2015-08-24 17:43 ` [PATCH v3 net-next 4/8] geneve: Make dst-port configurable Pravin B Shelar
2015-08-25 17:47   ` Thomas Graf
2015-08-26 20:47   ` John W. Linville
2015-08-24 17:43 ` [PATCH v3 net-next 5/8] geneve: Add support to collect tunnel metadata Pravin B Shelar
2015-08-25  1:42   ` Jesse Gross
2015-08-25  2:15     ` Pravin Shelar
2015-08-25 16:50       ` Jesse Gross
2015-08-25 17:48         ` Thomas Graf
2015-08-25 21:16         ` Pravin Shelar
2015-08-25 18:12   ` Thomas Graf
2015-08-24 17:43 ` [PATCH v3 net-next 6/8] openvswitch: Use Geneve device Pravin B Shelar
2015-08-25 17:48   ` Thomas Graf
2015-08-24 17:43 ` [PATCH v3 net-next 7/8] geneve: Consolidate Geneve functionality in single module Pravin B Shelar
2015-08-25 18:19   ` Thomas Graf
2015-08-25 20:55     ` Pravin Shelar
2015-08-25 19:03   ` Jesse Gross
2015-08-25 20:54     ` Pravin Shelar
2015-08-25 21:35       ` Jesse Gross
2015-08-26  0:05         ` Pravin Shelar
2015-08-24 17:43 ` [PATCH v3 net-next 8/8] geneve: Move device hash table to geneve socket Pravin B Shelar
2015-08-26 21:14   ` John W. Linville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150826204241.GB9495@tuxdriver.com \
    --to=linville@tuxdriver$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pshelar@nicira$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox