summary refs log tree commit diff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2017-09-23 23:03:04 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-25 20:36:17 -0700
commit01ccdf126ca5f9d4fe0889f65ee67afac910f19c (patch)
treea2f0a5d22825671199402771eb22f0c2e1321707 /samples/seccomp
parente451ae8e4f6b3f6bd3b83a5595657b5421b3bf69 (diff)
downloadlinux-01ccdf126ca5f9d4fe0889f65ee67afac910f19c.tar.gz
neigh: make strucrt neigh_table::entry_size unsigned int
Key length can't be negative.

Leave comparisons against nla_len() signed just in case truncated attribute
can sneak in there.

Space savings:

	add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-7 (-7)
	function                                     old     new   delta
	pneigh_delete                                273     272      -1
	mlx5e_rep_netevent_event                    1415    1414      -1
	mlx5e_create_encap_header_ipv6              1194    1193      -1
	mlx5e_create_encap_header_ipv4              1071    1070      -1
	cxgb4_l2t_get                               1104    1103      -1
	__pneigh_lookup                               69      68      -1
	__neigh_create                              2452    2451      -1

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions