Re: [PATCH net-next v3 1/2] libbpf: parse maps sections of varying size

2017-10-05 Thread Daniel Borkmann
On 10/05/2017 04:41 PM, Craig Gallek wrote: From: Craig Gallek This library previously assumed a fixed-size map options structure. Any new options were ignored. In order to allow the options structure to grow and to support parsing older programs, this patch updates the maps section parsing to

Re: [PATCH net-next v3 1/2] libbpf: parse maps sections of varying size

2017-10-05 Thread Jesper Dangaard Brouer
On Thu, 5 Oct 2017 10:41:57 -0400 Craig Gallek wrote: > From: Craig Gallek > > This library previously assumed a fixed-size map options structure. > Any new options were ignored. In order to allow the options structure > to grow and to support parsing older programs, this patch updates > the

[PATCH net-next v3 1/2] libbpf: parse maps sections of varying size

2017-10-05 Thread Craig Gallek
From: Craig Gallek This library previously assumed a fixed-size map options structure. Any new options were ignored. In order to allow the options structure to grow and to support parsing older programs, this patch updates the maps section parsing to handle varying sizes. Object files with maps