lkml.org 
[lkml]   [2015]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] ARM: net: make BPF_LD | BPF_IND instruction trigger r_X initialisation to 0.
From
From: Nicolas Schichan <nschichan@freebox.fr>
Date: Fri, 2 Oct 2015 15:39:12 +0200

> Without this patch, if the only instructions using r_X are of the
> BPF_LD | BPF_IND type, r_X would not be reset to 0, using whatever
> value was there when entering the jited code. With this patch, r_X
> will be correctly marked as used so it will be reset to 0 in the
> prologue code.
>
> This fix also makes the test "LD_IND byte default X" pass in the
> test_bpf module when the ARM JIT is enabled.
>
> Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>

Applied.


\
 
 \ /
  Last update: 2015-10-05 16:01    [W:0.052 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site