Mateusz, this seems to be the same problem as reported here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194264 so you might want to use that PR for bookkeeping. Thank you for the patch! -- Andriy Gapon