commit | 14a4b42bd6082b4ce3b94bad00cd367707cc1e97 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Sat Mar 27 16:35:50 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 27 16:35:50 2010 -0700 |
tree | 68ee8aa13ab92d07434edbed09c64f4ecf2e7df6 | |
parent | 8544b9f7371ec6a7a5c0f8701ddde9e98f52a37e [diff] |
net: fix unaligned access in IFLA_STATS64 Tony Luck observes that the original IFLA_STATS64 submission causes unaligned accesses. This is because nla_data() returns a pointer to a memory region that is only aligned to 32 bits. Do some memcpying to workaround this. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: David S. Miller <davem@davemloft.net>