commit | 46ab9b347d677976b2b4072837cb4065839c0b80 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Sat Jun 29 19:23:18 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 01 13:18:19 2013 -0700 |
tree | 39a7b23f5ab14eadbaa456ef1a29c9104db1b737 | |
parent | a5b87cc9e0538bf6680d431e0076d778e5bae38e [diff] |
alx: fix MAC address alignment problem In two places, parts of MAC addresses are used as u32/u16 values. This can cause alignment problems, use put_unaligned and get_unaligned to fix this. Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>