On 04/10/2019 08:54 AM, Magnus Karlsson wrote: > In commit da11b417583e ("libbpf: teach libbpf about log_level bit 2"), > the BPF_LOG_BUF_SIZE was increased to 16M. The XDP socket part of > libbpf allocated the log_buf on the stack, but for the new 16M buffer > size this is not going to work. Change the code so it uses a 16K buffer > instead. > > Signed-off-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > --- > v2: simplified code as suggested by Daniel Borkmann Applied, thanks.