net: neigh: make ->hh_len 32-bit
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 10 Apr 2017 08:11:17 +0000 (11:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2017 17:59:21 +0000 (13:59 -0400)
commit5b3dc2f37d7daf76a679cd204492ec5dff06bb8a
tree959c17821a16b655118100cb46f2d468bbc6cec6
parenteaffadbbb3f2711fc76e7b0ddf37c452ee11b805
net: neigh: make ->hh_len 32-bit

Using 16-bit ->hh_len doesn't save any memory, save some .text instead:

add/remove: 0/0 grow/shrink: 1/6 up/down: 2/-19 (-17)
function                                     old     new   delta
neigh_update                                2312    2314      +2
fwnet_header_cache                           199     197      -2
eth_header_cache                             101      99      -2
ip6_finish_output2                          2371    2368      -3
vrf_finish_output6                          1522    1518      -4
vrf_finish_output                           1413    1409      -4
ip_finish_output2                           1627    1623      -4

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/neighbour.h