Re: [PATCH] ppp(4): use common bpf filter hook

2020-05-19 Thread Vitaliy Makkoveev
I am OK with this diff. Also all pseudo interfaces except switch(4) do the same. On Mon, May 04, 2020 at 10:02:53PM +0300, Sergey Ryazanov wrote: > Use bpf filter hook from the common interface structure. This simplifies > the code by unifying it and prepare ppp(4) for pipex(4) support. > > Ok?

Re: [PATCH] ppp(4): use common bpf filter hook

2020-05-19 Thread Claudio Jeker
On Tue, May 19, 2020 at 12:19:12PM +0300, Vitaliy Makkoveev wrote: > I am OK with this diff. Also all pseudo interfaces except switch(4) do > the same. Agreed. There is no need to be special here. This is OK claudio and I will commit it later unless someone else wants to jump in first. > On

[PATCH] ppp(4): use common bpf filter hook

2020-05-04 Thread Sergey Ryazanov
Use bpf filter hook from the common interface structure. This simplifies the code by unifying it and prepare ppp(4) for pipex(4) support. Ok? --- sys/net/if_ppp.c| 16 sys/net/if_pppvar.h | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git sys/net/if_ppp.c