Nicolas Schichan 8690f47d6e ARM: net: make BPF_LD | BPF_IND instruction trigger r_X initialisation to 0.
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-05 07:01:08 -07:00
..
2015-09-26 22:22:31 -07:00
2015-09-22 08:13:42 +01:00
2015-09-11 19:18:28 +01:00
2015-09-08 14:35:59 -07:00
2015-09-27 06:45:18 -04:00
2015-09-01 13:09:20 -07:00
2015-09-27 06:45:18 -04:00
2015-09-08 14:35:59 -07:00
2015-09-01 12:10:20 -07:00
2015-09-11 19:18:28 +01:00
2015-08-18 13:10:05 -07:00