HomeFreeBSD

Fix regression from r287779, that bite me. If we call m_pullup()

Description

Fix regression from r287779, that bite me. If we call m_pullup()
unconditionally, we end up with an mbuf chain of two mbufs, which
later in in_arpreply() is rewritten from ARP request to ARP reply
and is sent out. Looks like igb(4) (at least mine, and at least
at my network) fails on such mbuf chain, so ARP reply doesn't go
out wire. Thus, make the m_pullup() call conditional, as it is
everywhere. Of course, the bug in igb(?) should be investigated,
but better first fix the head. And unconditional m_pullup() was
suboptimal, anyway.

Details

Provenance
glebiusAuthored on
Parents
rS288990: Fix regression from r248371. We need to copy packet header to new
Branches
Unknown
Tags
Unknown