Hello,
On Tue, May 17, 2022 at 06:40:12PM +0000, Miod Vallat wrote:
> sys/net/pf.c r1.968 added a call to m_print() #ifdef DDB in a
> troublesome situation.
>
> Once the root cause of the problem was fixed, the DDB-specific code path
> was removed in r1.970, but the added includes were kept, although
> nothing in pf.c depends on DDB anymore.
thanks for spotting this.
OK sashan@
>
> Index: pf.c
> ===================================================================
> RCS file: /OpenBSD/src/sys/net/pf.c,v
> retrieving revision 1.1129
> diff -u -p -r1.1129 pf.c
> --- pf.c 5 May 2022 16:44:22 -0000 1.1129
> +++ pf.c 17 May 2022 18:38:34 -0000
> @@ -103,11 +103,6 @@
> struct pfsync_deferral;
> #endif /* NPFSYNC > 0 */
>
> -#ifdef DDB
> -#include <machine/db_machdep.h>
> -#include <ddb/db_interface.h>
> -#endif
> -
> /*
> * Global variables
> */
>