diff options
author | silby <silby@FreeBSD.org> | 2003-05-28 02:04:33 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-05-28 02:04:33 +0000 |
commit | b09db08f24802a7064b4bc3073d6dd77af6e6424 (patch) | |
tree | 464df32003e1d69ee821d64e05ad9e99778f9f97 /contrib/binutils | |
parent | 02dfc0d2388d5da9a58412a122f615a1d1b4488b (diff) | |
download | FreeBSD-src-b09db08f24802a7064b4bc3073d6dd77af6e6424.zip FreeBSD-src-b09db08f24802a7064b4bc3073d6dd77af6e6424.tar.gz |
Replace a handrolled defrag function with m_defrag. The handrolled
function couldn't handle chains of > MCLBYTES, and it had a bug which
caused corruption and panics in certain low mbuf situations.
Additionally, change the failure case so that looutput returns ENOBUFS
rather than attempting to pass on non-defragmented mbuf chains.
Finally, remove the printf which would happen every time the low memory
situation occured. It served no useful purpose other than to clue me
in as to what was causing the panic in question. :)
MFC after: 4 days
Diffstat (limited to 'contrib/binutils')
0 files changed, 0 insertions, 0 deletions