diff options
author | Naveen N. Rao | 2019-06-12 20:51:39 +0200 |
---|---|---|
committer | Daniel Borkmann | 2019-06-13 23:07:00 +0200 |
commit | 3e0682695199bad51dd898fe064d1564637ff77a (patch) | |
tree | a63884494c3ac859560d7056cb1def9095b1c4fa /arch/powerpc | |
parent | bpf: sync BPF_FIB_LOOKUP flag changes with BPF uapi (diff) | |
download | kernel-qcow2-linux-3e0682695199bad51dd898fe064d1564637ff77a.tar.gz kernel-qcow2-linux-3e0682695199bad51dd898fe064d1564637ff77a.tar.xz kernel-qcow2-linux-3e0682695199bad51dd898fe064d1564637ff77a.zip |
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')
0 files changed, 0 insertions, 0 deletions