bpf: add test for mixed signed and unsigned bounds checks
authorEdward Cree <ecree@solarflare.com>
Thu, 20 Jul 2017 22:00:24 +0000 (00:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 22:20:27 +0000 (15:20 -0700)
commitb712296a41ce0a114895fdff68fc22aada165b07
tree388161638f63429c33566ff41b6ef3b5d9f3179a
parenta1502132866fd2d2705eef4041dd6d7d849f48a2
bpf: add test for mixed signed and unsigned bounds checks

These failed due to a bug in verifier bounds handling.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_verifier.c