[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150510.192055.1922692719262473644.davem@davemloft.net>
Date: Sun, 10 May 2015 19:20:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nschichan@...ebox.fr
Cc: linux@....linux.org.uk, mgherzan@...il.com, daniel@...earbox.net,
ast@...mgrid.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] ARM: net fix emit_udiv() for BPF_ALU | BPF_DIV |
BPF_K intruction.
From: Nicolas Schichan <nschichan@...ebox.fr>
Date: Wed, 6 May 2015 18:31:56 +0200
> In that case, emit_udiv() will be called with rn == ARM_R0 (r_scratch)
> and loading rm first into ARM_R0 will result in jit_udiv() function
> being called the same dividend and divisor. Fix that by loading rn
> first into ARM_R1 and then rm into ARM_R0.
>
> Signed-off-by: Nicolas Schichan <nschichan@...ebox.fr>
> Cc: <stable@...r.kernel.org> # v3.13+
> Fixes: aee636c4809f (bpf: do not use reciprocal divide)
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists