net: call add_device_randomness() only after successful mac change
authorJiri Pirko <jiri@resnulli.us>
Tue, 1 Jan 2013 03:30:14 +0000 (03:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2013 06:37:35 +0000 (22:37 -0800)
commitf652151640344f8faee21fcf702b4fd46b8fe70b
treee14102323aec4459eee4f5f55a433675e575a396
parente7c3273ec2a04bbce27e0991c405fe6dc6811d7d
net: call add_device_randomness() only after successful mac change

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c