[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120319.174241.1785009482969692029.davem@davemloft.net>
Date: Mon, 19 Mar 2012 17:42:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: indan@....nu, wad@...omium.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, linux-doc@...r.kernel.org,
kernel-hardening@...ts.openwall.com, netdev@...r.kernel.org,
x86@...nel.org, arnd@...db.de, hpa@...or.com, mingo@...hat.com,
oleg@...hat.com, peterz@...radead.org, rdunlap@...otime.net,
mcgrathr@...omium.org, tglx@...utronix.de, luto@....edu,
eparis@...hat.com, serge.hallyn@...onical.com, djm@...drot.org,
scarybeasts@...il.com, pmoore@...hat.com,
akpm@...ux-foundation.org, corbet@....net, markus@...omium.org,
coreyb@...ux.vnet.ibm.com, keescook@...omium.org, matt@...abs.org
Subject: Re: [PATCH] net: bpf_jit: fix BPF_S_LDX_B_MSH compilation
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 18 Mar 2012 05:40:48 -0700
> [PATCH] net: bpf_jit: fix BPF_S_LDX_B_MSH compilation
>
> Matt Evans spotted that x86 bpf_jit was incorrectly handling negative
> constant offsets in BPF_S_LDX_B_MSH instruction.
>
> We need to abort JIT compilation like we do in common_load so that
> filter uses the interpreter code and can call __load_pointer()
>
> Reference: http://lists.openwall.net/netdev/2011/07/19/11
>
> Thanks to Indan Zupancic to bring back this issue.
>
> Reported-by: Matt Evans <matt@...abs.org>
> Reported-by: Indan Zupancic <indan@....nu>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and even though libpcap won't generate this I'll queue it up
to -stable anyways.
--
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