Submitted by: Jeroen Ruigrok van der Werven Differential Revision: https://reviews.freebsd.org/D18452