Submitted by: Daniel Shafer <daniel@shafer.cc> Differential Revision: https://reviews.freebsd.org/D20166