Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1239572
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] ARM: net: make BPF_LD | BPF_IND instruction trigger r_X initialisation to 0. |
| Date | 2015-10-05 15:50 +0200 |
| Message-ID | <qgejo-uJ-13@gated-at.bofh.it> (permalink) |
| References | <qf8J7-4MS-87@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net] ARM: net: make BPF_LD | BPF_IND instruction trigger r_X initialisation to 0. Nicolas Schichan <nschichan@freebox.fr> - 2015-10-02 15:40 +0200 Re: [PATCH net] ARM: net: make BPF_LD | BPF_IND instruction trigger r_X initialisation to 0. David Miller <davem@davemloft.net> - 2015-10-05 15:50 +0200
csiph-web