diff options
author | glebius <glebius@FreeBSD.org> | 2015-10-07 13:10:26 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-10-07 13:10:26 +0000 |
commit | 46f350c8acc7a6f36781e7ad78b3516bd63976cb (patch) | |
tree | f24946b464172e9392aca5f26066d000b92ab7dc /usr.bin/tail/tail.c | |
parent | daa604f29470fbd4f5eac28fbe136749017b98ab (diff) | |
download | FreeBSD-src-46f350c8acc7a6f36781e7ad78b3516bd63976cb.zip FreeBSD-src-46f350c8acc7a6f36781e7ad78b3516bd63976cb.tar.gz |
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.
Diffstat (limited to 'usr.bin/tail/tail.c')
0 files changed, 0 insertions, 0 deletions