[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161124.160504.2054406480214878235.davem@davemloft.net>
Date: Thu, 24 Nov 2016 16:05:04 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ast@...com
Cc: daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] samples/bpf: fix sockex2 example
From: Alexei Starovoitov <ast@...com>
Date: Tue, 22 Nov 2016 16:52:08 -0800
> since llvm commit "Do not expand UNDEF SDNode during insn selection lowering"
> llvm will generate code that uses uninitialized registers for cases
> where C code is actually uses uninitialized data.
> So this sockex2 example is technically broken.
> Fix it by initializing on the stack variable fully.
> Also increase verifier buffer limit, since verifier output
> may not fit in 64k for this sockex2 code depending on llvm version.
>
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
Applied.
Powered by blists - more mailing lists