Re: [PATCH net 2/2] bpf: fix overflow in prog accounting

2016-12-17 Thread Daniel Borkmann
On 12/17/2016 03:52 AM, kbuild test robot wrote: Hi Daniel, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-dynamically-allocate-digest-scratch-buffer/20161217-090046 config: sparc-defconfig (attached as .config) compiler: sparc-linux-

Re: [PATCH net 2/2] bpf: fix overflow in prog accounting

2016-12-16 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-dynamically-allocate-digest-scratch-buffer/20161217-090046 config: openrisc-or1ksim_defconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce:

Re: [PATCH net 2/2] bpf: fix overflow in prog accounting

2016-12-16 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-dynamically-allocate-digest-scratch-buffer/20161217-090046 config: sparc-defconfig (attached as .config) compiler: sparc-linux-gcc (GCC) 6.2.0 reproduce: wget https://gi

[PATCH net 2/2] bpf: fix overflow in prog accounting

2016-12-16 Thread Daniel Borkmann
Commit aaac3ba95e4c ("bpf: charge user for creation of BPF maps and programs") made a wrong assumption of charging against prog->pages. Unlike map->pages, prog->pages are still subject to change when we need to expand the program through bpf_prog_realloc(). This can for example happen during verif