greth: greth_set_mac_add would corrupt the MAC address.
The MAC address was set using the signed char sockaddr->sa_addr field and thus the address could be corrupted through sign extension. Signed-off-by:Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
c349a528
Please register or sign in to comment