netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: danny.kukawka@bisect.de
Cc: benve@cisco.com, dkukawka@suse.de, roprabhu@cisco.com,
	dwang2@cisco.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] cisco/enic: use eth_hw_addr_random() instead of random_ether_addr()
Date: Sat, 18 Feb 2012 01:50:59 -0500 (EST)	[thread overview]
Message-ID: <20120218.015059.195369430178043130.davem@davemloft.net> (raw)
In-Reply-To: <1329516810-26175-1-git-send-email-danny.kukawka@bisect.de>

From: Danny Kukawka <danny.kukawka@bisect.de>
Date: Fri, 17 Feb 2012 23:13:30 +0100

> Use dev_hw_addr_random() instead of calling random_ether_addr()
> to set addr_assign_type correctly to NET_ADDR_RANDOM.
> 
> Reset the state to NET_ADDR_PERM as soon as the MAC get
> changed via .ndo_set_mac_address.
> 
> v3: adapt to net-next
> v2: use bitops, adapt to eth_hw_addr_random(), add a comment
> 
> Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>

Applied, thanks.

      reply	other threads:[~2012-02-18  6:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17 22:13 [PATCH v3] cisco/enic: use eth_hw_addr_random() instead of random_ether_addr() Danny Kukawka
2012-02-18  6:50 ` David Miller [this message]

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=20120218.015059.195369430178043130.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=benve@cisco.com \
    --cc=danny.kukawka@bisect.de \
    --cc=dkukawka@suse.de \
    --cc=dwang2@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=roprabhu@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).