Files
linux/kernel/bpf
Edward Cree 655da3da9b bpf/verifier: fix min/max handling in BPF_SUB
[ Upstream commit 9305706c2e ]

We have to subtract the src max from the dst min, and vice-versa, since
 (e.g.) the smallest result comes from the largest subtrahend.

Fixes: 484611357c ("bpf: allow access into map value arrays")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-30 10:21:44 +02:00
..
2016-09-27 22:09:17 -04:00
2016-03-08 15:28:31 -05:00