commit | 70f8e78e150425b01c1099087ad3decacf7e4ccf | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Tue Aug 08 16:47:37 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Aug 08 16:47:37 2006 -0700 |
tree | a8b670e567d0936b830d2212101e5593b4f1c57c | |
parent | 1b2a720506ccf7c30baaeda5d990c29b31e21726 [diff] |
[RTNETLINK]: Fix IFLA_ADDRESS handling. 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>