From: Danny Kukawka Date: Wed, 15 Feb 2012 06:45:40 +0000 (+0000) Subject: net: use eth_hw_addr_random() and reset addr_assign_type X-Git-Tag: v3.4-rc1~177^2~275 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce5d222190cb3ce3ae88bafde7c4fa52a5103e0;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed