commit | 9b9cfe7cf663c16c0d93349cc0094bb28ae7135a | [log] [tgz] |
---|---|---|
author | Kristoffer Glembo <kristoffer@gaisler.com> | Mon Jul 04 21:39:10 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 04 21:39:10 2011 -0700 |
tree | 24b51f8b2e8c3f7324dbde57e2cc6c0dd28ebe66 | |
parent | c349a528cd47e2272ded0ea358363855e86180da [diff] |
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>