diff options
author | 2010-03-27 16:35:50 -0700 | |
---|---|---|
committer | 2010-03-27 16:35:50 -0700 | |
commit | 14a4b42bd6082b4ce3b94bad00cd367707cc1e97 (patch) | |
tree | 68ee8aa13ab92d07434edbed09c64f4ecf2e7df6 /net/core/net-sysfs.c | |
parent | e1000e: Use pr_<level> and netdev_<level> (diff) | |
download | linux-dev-14a4b42bd6082b4ce3b94bad00cd367707cc1e97.tar.xz linux-dev-14a4b42bd6082b4ce3b94bad00cd367707cc1e97.zip |
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>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions