Re: Adjust bpf event filter

2022-02-14 Thread David Gwynne
On Mon, Feb 14, 2022 at 08:34:42AM +, Visa Hankala wrote: > This makes bpf(4) use knote_modify_fn() and knote_process_fn(). > > Since the code has only one event function, it makes sense to use it > directly instead of going through struct filterops f_event pointer. > > OK? ok. > > Index:

Adjust bpf event filter

2022-02-14 Thread Visa Hankala
This makes bpf(4) use knote_modify_fn() and knote_process_fn(). Since the code has only one event function, it makes sense to use it directly instead of going through struct filterops f_event pointer. OK? Index: net/bpf.c === RCS fi