Re: wg: fix build without pf

2020-07-13 Thread Theo Buehler
On Sun, Jul 12, 2020 at 07:44:47PM +0200, Klemens Nanni wrote: > Feedback? OK? You need to have pf.h in scope to condition on NPF > 0. panic: kernel diagnostic assertion "m->m_ptheader.pf.statekey == NULL" failed: file "/usr/src/sys/net/pf.c" line 7455 Index: sys/net/if_wg.c

Re: wg: fix build without pf

2020-07-12 Thread Vitaliy Makkoveev
On Sun, Jul 12, 2020 at 07:44:47PM +0200, Klemens Nanni wrote: OK mvs@ > Feedback? OK? > > > Index: sys/net/if_wg.c > === > RCS file: /cvs/src/sys/net/if_wg.c,v > retrieving revision 1.9 > diff -u -p -r1.9 if_wg.c > ---

wg: fix build without pf

2020-07-12 Thread Klemens Nanni
Feedback? OK? Index: sys/net/if_wg.c === RCS file: /cvs/src/sys/net/if_wg.c,v retrieving revision 1.9 diff -u -p -r1.9 if_wg.c --- sys/net/if_wg.c 10 Jul 2020 13:26:42 - 1.9 +++ sys/net/if_wg.c 12 Jul 2020 16:31:03