net: init perm_addr in register_netdevice()
authorJiri Pirko <jiri@resnulli.us>
Tue, 8 Jan 2013 01:38:25 +0000 (01:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2013 02:00:47 +0000 (18:00 -0800)
Benefit from the fact that dev->addr_assign_type is set to NET_ADDR_PERM
in case the device has permanent address.

This also fixes the problem that many drivers do not set perm_addr at
all.

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

diff --cc net/core/dev.c
Simple merge