Skip to content

Conversation

@zolfariot
Copy link

Since FreeBSD 14 a new PFIL_VERSION has been introduced with a slight different data structure definition for pfil_hook_args.

See freebsd/freebsd-src@caf32b2 for details of the new PFIL_VERSION implementation.

With this fix is possible to compile against FreeBSD 14 kernel, and the pre-processor instruction should assure backwards compatibility.

The patch has been compiled and tested successfully on our production environment recently migrated to FreeBSD 14.

Since FreeBSD 14 a new PFIL_VERSION has been introduced with a slight
different data structure definition for `pfil_hook_args`.

See freebsd/freebsd-src@caf32b2
for details of the new PFIL_VERSION implementation.

With this fix is possible to compile against FreeBSD 14 kernel, and the
pre-processor instruction should assure backwards compatibility.
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Dec 22, 2023
Adding support for pfil version 2 interface.
Patch already submitted upstream as pull request:
AlexandreFenyo/ndproxy#6

PR:		275884
Reported by:	Lorenzo Zolfanelli <dev@zolfa.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant