The iov array needs to hold five entries in addition to the number of prefixes. (cherry picked from commit 6852c0f6)