Wireguard for FreeBSD without iflib

Jason A. Donenfeld Jason at zx2c4.com
Wed Mar 17 22:17:59 UTC 2021


Hi Frank,

On Wed, Mar 17, 2021 at 1:29 PM Frank Behrens <frank at harz.behrens.de> wrote:
> I read your messages from the last days in the freebsd lists.
> In the version before removal from freebsd and in your current
> repository at https://git.zx2c4.com/wireguard-freebsd/ I see a problem.
> I can't load the module, because I get the error:
> Mar 17 20:07:53 <kern.crit> moon kernel: link_elf_obj: symbol
> qgroup_if_io_tqg undefined
> Mar 17 20:07:53 <kern.crit> moon kernel: linker_load_file:
> /usr/local/src/wg/src/if_wg.ko - unsupported file type
>
> I guess that is caused my the fact, that I do not have iflib in the
> kernel and you have only a TASKQGROUP_DECLARE(if_io_tqg) in the source
> and not TASKQGROUP_DEFINE(..).

Thanks for the report. Indeed it may yet take more time to clear out
all the iflib stuff.

Fixed here:
https://git.zx2c4.com/wireguard-freebsd/commit/?id=39c05742f16da7f71f4c781759a4b5135916a249

And this will be available in the next snapshot.

Jason


More information about the WireGuard mailing list