commit | 3e0682695199bad51dd898fe064d1564637ff77a | [log] [tgz] |
---|---|---|
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | Thu Jun 13 00:21:39 2019 +0530 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jun 13 23:07:00 2019 +0200 |
tree | a63884494c3ac859560d7056cb1def9095b1c4fa | |
parent | 0e265747491cb182429adfbef7d002164566f25c [diff] |
bpf: fix div64 overflow tests to properly detect errors If the result of the division is LLONG_MIN, current tests do not detect the error since the return value is truncated to a 32-bit value and ends up being 0. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>