Home
last modified time | relevance | path

Searched hist:"70 f8e78e150425b01c1099087ad3decacf7e4ccf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff 70f8e78e150425b01c1099087ad3decacf7e4ccf Tue Aug 08 18:47:37 CDT 2006 David S. Miller <davem@sunset.davemloft.net> [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>