diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2019-06-12 21:51:39 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-14 00:07:00 +0300 |
commit | 3e0682695199bad51dd898fe064d1564637ff77a (patch) | |
tree | a63884494c3ac859560d7056cb1def9095b1c4fa /arch/powerpc/net | |
parent | 0e265747491cb182429adfbef7d002164566f25c (diff) | |
download | linux-3e0682695199bad51dd898fe064d1564637ff77a.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/net')
0 files changed, 0 insertions, 0 deletions