1
linux/drivers/net/ethernet
Danny Kukawka 7ce5d22219 net: use eth_hw_addr_random() and reset addr_assign_type
Use eth_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.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-15 15:34:17 -05:00
..
3com netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
8390 netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
adaptec netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
adi netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
aeroflex aeroflex: Fix typo in greth.c 2012-02-13 00:45:38 -05:00
alteon drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
amd netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
apple netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
atheros netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
broadcom net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
brocade drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
cadence net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
calxeda net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
chelsio drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
cirrus net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
cisco enic: remove assignment of random mac on enic vf 2012-02-13 00:47:41 -05:00
davicom net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
dec netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
dlink netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:48:09 -05:00
emulex be2net: event queue re-design 2012-02-13 00:47:40 -05:00
faraday net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
freescale net: fec: Fix build due to wrong dev annotation 2012-02-07 13:32:50 -05:00
fujitsu netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
hp netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
i825xx netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
ibm drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
icplus netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
intel e1000e: cleanup goto statements to exit points without common work 2012-02-13 13:30:16 -08:00
marvell net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
mellanox mlx4: add unicast steering entries to resource_tracker 2012-02-14 14:11:59 -05:00
micrel net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
microchip net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
myricom drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
natsemi net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
neterion netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
nuvoton netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
nvidia net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
octeon
oki-semi drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
packetengines netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
pasemi netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
qlogic netxen_nic: signedness bug in netxen_md_entry_err_chk() 2012-02-08 19:57:55 -05:00
racal netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
rdc net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
realtek netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
renesas Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-10 23:32:28 -05:00
seeq netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
sfc sfc: Use a more sensible cast in efx_rx_buf_offset() 2012-01-30 16:58:45 +00:00
sgi net: meth: Add set_rx_mode hook to fix ICMPv6 neighbor discovery 2011-12-27 13:17:34 -05:00
silan
sis net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
smsc net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
stmicro net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
sun netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
tehuti netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
ti netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
tile net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
toshiba net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
tundra drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
via net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
xilinx netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
xircom netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
xscale ixp4xx-eth: use an unique MDIO bus name. 2012-01-10 16:35:01 -08:00
dnet.c net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
dnet.h
ethoc.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
fealnx.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:48:09 -05:00
jme.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
jme.h jme: PHY configuration for compatible issue 2011-11-27 19:21:09 -05:00
Kconfig net: add calxeda xgmac ethernet driver 2011-11-29 01:15:24 -05:00
korina.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
lantiq_etop.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:52:27 -05:00
Makefile Driver specific changes 2012-01-09 14:39:22 -08:00
mipsnet.c net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
netx-eth.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
s6gmac.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00