[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140311.232608.1193651497868512588.davem@davemloft.net>
Date: Tue, 11 Mar 2014 23:26:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ast@...mgrid.com
Cc: kaffeemonster@...glemail.com, edumazet@...gle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] x86: bpf_jit: support negative offsets
From: Alexei Starovoitov <ast@...mgrid.com>
Date: Mon, 10 Mar 2014 15:56:51 -0700
> Commit a998d4342337 claimed to introduce negative offset support to x86 jit,
> but it couldn't be working, since at the time of the execution
> of LD+ABS or LD+IND instructions via call into
> bpf_internal_load_pointer_neg_helper() the %edx (3rd argument of this func)
> had junk value instead of access size in bytes (1 or 2 or 4).
>
> Store size into %edx instead of %ecx (what original commit intended to do)
>
> Fixes: a998d4342337 ("bpf jit: Let the x86 jit handle negative offsets")
> Signed-off-by: Alexei Starovoitov <ast@...mgrid.com>
> Cc: Jan Seiffert <kaffeemonster@...glemail.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists