Re: [bpf-next, v4 1/5] flow_dissector: implements flow dissector BPF hook

2018-09-18 Thread Willem de Bruijn
On Tue, Sep 18, 2018 at 2:09 PM Eric Dumazet wrote: > > > > On 09/14/2018 07:46 AM, Petar Penkov wrote: > > From: Petar Penkov > > > > Adds a hook for programs of type BPF_PROG_TYPE_FLOW_DISSECTOR and > > attach type BPF_FLOW_DISSECTOR that is executed in the flow dissector > > path. The BPF prog

Re: [bpf-next, v4 1/5] flow_dissector: implements flow dissector BPF hook

2018-09-18 Thread Eric Dumazet
On 09/14/2018 07:46 AM, Petar Penkov wrote: > From: Petar Penkov > > Adds a hook for programs of type BPF_PROG_TYPE_FLOW_DISSECTOR and > attach type BPF_FLOW_DISSECTOR that is executed in the flow dissector > path. The BPF program is per-network namespace ... > > + rcu_read_lock(); > +

[bpf-next, v4 1/5] flow_dissector: implements flow dissector BPF hook

2018-09-14 Thread Petar Penkov
From: Petar Penkov Adds a hook for programs of type BPF_PROG_TYPE_FLOW_DISSECTOR and attach type BPF_FLOW_DISSECTOR that is executed in the flow dissector path. The BPF program is per-network namespace. Signed-off-by: Petar Penkov Signed-off-by: Willem de Bruijn --- include/linux/bpf.h