greth: greth_set_mac_add would corrupt the MAC address.
authorKristoffer Glembo <kristoffer@gaisler.com>
Tue, 5 Jul 2011 04:39:10 +0000 (21:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2011 04:39:10 +0000 (21:39 -0700)
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>

No differences found