On xen,freebsd 10.3 virtual machines hang after adding and removing NICs time and again(more than 30 times). I found error log is as follows: "netfront can't alloc tx grant refs"
I have fixed this bug using the following patch: https://lists.freebsd.org/pipermail/freebsd-xen/2016-November/002879.html