enic: Use random mac addr when associating port-profile
authorScott Feldman <scofeldm@cisco.com>
Sat, 22 May 2010 17:29:58 +0000 (17:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:11:06 +0000 (23:11 -0700)
commit418c437d8b4b87815f3afed89da2aa0078d5379d
treee363be0d21c3209cae767490e7aad4732602b7b2
parent6fc7f5730b71916bc44389015d404f668674c64c
enic: Use random mac addr when associating port-profile

Use random mac addr for interface when associating port-profile to
dynamic enic device, in the case no mac addr was previous assigned.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c