Re: [bpf-next PATCH v2 0/2] SK_MSG programs: read sock fields

2018-05-18 Thread Daniel Borkmann
On 05/17/2018 11:16 PM, John Fastabend wrote: > In this series we add the ability for sk msg programs to read basic > sock information about the sock they are attached to. The second > patch adds the tests to the selftest test_verifier. > > One obseration that I had from writing this seriess is lo

[bpf-next PATCH v2 0/2] SK_MSG programs: read sock fields

2018-05-17 Thread John Fastabend
In this series we add the ability for sk msg programs to read basic sock information about the sock they are attached to. The second patch adds the tests to the selftest test_verifier. One obseration that I had from writing this seriess is lots of the ./net/core/filter.c code is almost duplicated