Subject: Re: [PATCH] mips: bpf: Fix broken BPF_MOD

From: Sergei Shtylyov <[email-masked]>
Date: Mon, 01 Dec 2014 16:50:56 +0300

Hello.

On 12/1/2014 12:57 PM, Denis Kirjanov wrote:

    You should CC the 'linux-mips' ML.

> Remove optimize_div() from BPF_MOD | BPF_K case
> since we don't know the dividend and fix the
> emit_mod() by reading the mod operation result from HI register

    Isn't this 2 unrelated fixes? They should be in 2 patches, not a single 
one in that case.

> Signed-off-by: Denis Kirjanov <[email-masked]>
> ---
>   arch/mips/net/bpf_jit.c |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

WBR, Sergei