OSDN Git Service

neighbor: Improve neighbour struct layout
authorDavid Ahern <dsahern@gmail.com>
Thu, 13 Dec 2018 16:16:50 +0000 (08:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 19:49:29 +0000 (11:49 -0800)
commit4b7cd11f22e5e62b68c543ee74ed3c9f9e70baba
tree0490328c1f8fcb00d060b397e6196498c008c962
parent2561f97267d656c9b2c62b32614870abb3eabfe6
neighbor: Improve neighbour struct layout

Move arp_queue_len_bytes ahead of arp_queue to remove two 4-byte holes.
Ensure ha element is always 8-byte aligned.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h