diff options
author | Schichan Nicolas <nschichan@freebox.fr> | 2012-12-10 14:49:39 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-12-11 00:16:59 +0000 |
commit | 89c2e00978ada02a5b84b361faee954cbc7a0386 (patch) | |
tree | a6232be1fa89adcecf99ca91bcbcde4d06744047 /Documentation/scsi/scsi_eh.txt | |
parent | 026b7c6bf0bf044aa03e2affbda73b6c6a302538 (diff) | |
download | blackbird-op-linux-89c2e00978ada02a5b84b361faee954cbc7a0386.tar.gz blackbird-op-linux-89c2e00978ada02a5b84b361faee954cbc7a0386.zip |
ARM: 7597/1: net: bpf_jit_32: fix kzalloc gfp/size mismatch.
Official prototype for kzalloc is:
void *kzalloc(size_t, gfp_t);
The ARM bpf_jit code was having the assumption that it was:
void *kzalloc(gfp_t, size);
This was resulting the use of some random GFP flags depending on the
size requested and some random overflows once the really needed size
was more than the value of GFP_KERNEL.
This bug was present since the original inclusion of bpf_jit for ARM
(ddecdfce: ARM: 7259/3: net: JIT compiler for packet filters).
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/scsi/scsi_eh.txt')
0 files changed, 0 insertions, 0 deletions