Re: [PATCH 1/1] bpf: Fix bpf_event_output re-entry issue

2019-09-27 Thread Daniel Borkmann
On Wed, Sep 25, 2019 at 04:43:12PM -0700, Allan Zhang wrote: > BPF_PROG_TYPE_SOCK_OPS program can reenter bpf_event_output because it can > be called from atomic and non-atomic contexts since we don't have > bpf_prog_active to prevent it happen. > > This patch enables 3 level of nesting to support

RE: [PATCH 1/1] bpf: Fix bpf_event_output re-entry issue

2019-09-26 Thread John Fastabend
Allan Zhang wrote: > BPF_PROG_TYPE_SOCK_OPS program can reenter bpf_event_output because it can > be called from atomic and non-atomic contexts since we don't have > bpf_prog_active to prevent it happen. > > This patch enables 3 level of nesting to support normal, irq and nmi > context. > > We ca