Module Name: src
Committed By: jdolecek
Date: Fri Apr 24 22:07:13 UTC 2020
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
change m_defrag() to coalesce the chain to single mbuf if it's short enough
and first mbuf doesn't use external storage
most fragmented packets end up with first short mbuf containing
frame + protocol header only, and second mbuf containing the data;
m_defrag() previously always returned chain of at least two mbufs,
now it should actually return all data in single mbuf for typical
mbuf chain with length < MCLBYTES
To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/sys/kern/uipc_mbuf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.