]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: bpf: Fix stack space allocation for BPF memwords on MIPS64
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 23 Jun 2014 09:39:00 +0000 (10:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Jun 2014 09:48:23 +0000 (10:48 +0100)
commit1ab4e15729e76e97e158e50a1c0331f6973ec019
tree358519a6be8f7e3c629ab40b1e5158ccaad870a7
parent323aa68126bf41a74edc0dd57fd74f66b03a131e
MIPS: bpf: Fix stack space allocation for BPF memwords on MIPS64

When allocating stack space for BPF memwords we need to use the
appropriate 32 or 64-bit instruction to avoid losing the top 32 bits
of the stack pointer.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7135/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/net/bpf_jit.c