Skip to content
Commit 9b9cfe7c authored by Kristoffer Glembo's avatar Kristoffer Glembo Committed by David S. Miller
Browse files

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: default avatarKristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c349a528
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment