Submitted by: Andriy Voskoboinyk <s3erios at gmail dot com> Differential Revision: https://reviews.freebsd.org/D3847