Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernels with "pseudo-device pfsync" fail to build

On 2018/06/27 11:58, John D. Baker wrote:
After the recent bpf_tap/bpf_mtap change, kernels which include:

   pseudo-device pfsync

fail to build:

--- if_pfsync.o ---
/x/current/src/sys/dist/pf/net/if_pfsync.c: In function 'pfsync_tdb_sendout':
/x/current/src/sys/dist/pf/net/if_pfsync.c:1559:2: error: too few arguments to function 'bpf_mtap'
   bpf_mtap(ifp, m);
In file included from /x/current/src/sys/dist/pf/net/if_pfsync.c:51:0:
/x/current/src/sys/net/bpf.h:458:1: note: declared here
  bpf_mtap(struct ifnet *_ifp, struct mbuf *_m, u_int _direction)
*** [if_pfsync.o] Error code 1

nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760
--- if_plip.o ---
/r0/build/current/tools/amd64/bin/nbctfconvert -g -L VERSION -g if_plip.o
1 error

nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760

ERROR: Failed to make all in "/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760"

Fixed. Thank you for the report.

                SAITOH Masanobu (

Home | Main Index | Thread Index | Old Index