[RTNETLINK]: Fix IFLA_ADDRESS handling.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 8 Aug 2006 23:47:37 +0000 (16:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 8 Aug 2006 23:47:37 +0000 (16:47 -0700)
The ->set_mac_address handlers expect a pointer to a
sockaddr which contains the MAC address, whereas
IFLA_ADDRESS provides just the MAC address itself.

So whip up a sockaddr to wrap around the netlink
attribute for the ->set_mac_address call.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found