Home
last modified time | relevance | path

Searched hist:"14 a4b42bd6082b4ce3b94bad00cd367707cc1e97" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff 14a4b42bd6082b4ce3b94bad00cd367707cc1e97 Sat Mar 27 18:35:50 CDT 2010 Jan Engelhardt <jengelh@medozas.de> 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>