Current-Users archive

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

kernels with "pseudo-device pfsync" fail to build



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"
*** BUILD ABORTED ***


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index