Re: [PATCH bpf-next 1/3] bpf: helper to pop data from messages

2018-11-26 Thread John Fastabend
On 11/25/18 5:05 PM, Daniel Borkmann wrote: > On 11/23/2018 02:38 AM, John Fastabend wrote: >> This adds a BPF SK_MSG program helper so that we can pop data from a >> msg. We use this to pop metadata from a previous push data call. >> >> Signed-off-by: John Fastabend >> --- >>

Re: [PATCH bpf-next 1/3] bpf: helper to pop data from messages

2018-11-26 Thread John Fastabend
On 11/26/18 3:16 AM, Quentin Monnet wrote: > 2018-11-26 02:05 UTC+0100 ~ Daniel Borkmann >> On 11/23/2018 02:38 AM, John Fastabend wrote: >>> This adds a BPF SK_MSG program helper so that we can pop data from a >>> msg. We use this to pop metadata from a previous push data call. >>> >>>

Re: [PATCH bpf-next 1/3] bpf: helper to pop data from messages

2018-11-26 Thread Quentin Monnet
2018-11-26 02:05 UTC+0100 ~ Daniel Borkmann > On 11/23/2018 02:38 AM, John Fastabend wrote: >> This adds a BPF SK_MSG program helper so that we can pop data from a >> msg. We use this to pop metadata from a previous push data call. >> >> Signed-off-by: John Fastabend >> --- >>

Re: [PATCH bpf-next 1/3] bpf: helper to pop data from messages

2018-11-25 Thread Daniel Borkmann
On 11/23/2018 02:38 AM, John Fastabend wrote: > This adds a BPF SK_MSG program helper so that we can pop data from a > msg. We use this to pop metadata from a previous push data call. > > Signed-off-by: John Fastabend > --- > include/uapi/linux/bpf.h | 13 +++- > net/core/filter.c| 169

[PATCH bpf-next 1/3] bpf: helper to pop data from messages

2018-11-22 Thread John Fastabend
This adds a BPF SK_MSG program helper so that we can pop data from a msg. We use this to pop metadata from a previous push data call. Signed-off-by: John Fastabend --- include/uapi/linux/bpf.h | 13 +++- net/core/filter.c| 169 +++