]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Garbage collect m_copymdata(), an mbuf utility routine introduced
authorRobert Watson <rwatson@FreeBSD.org>
Sat, 10 Jan 2015 10:41:23 +0000 (10:41 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Sat, 10 Jan 2015 10:41:23 +0000 (10:41 +0000)
commita5e9a6d56f825dd30de424b69098db3da2ee7af2
treee2c4a653f5897e721b48a89820effe52e0a52f68
parent98648ee85e3458be3adbc30a31012a0eb2f88023
Garbage collect m_copymdata(), an mbuf utility routine introduced
in FreeBSD 7 that has not been used since.  It contains a number
of unresolved bugs including an inverted bcopy() and incorrect
handling of read-only mbufs using internal storage.  Removing this
unused code is substantially essier than fixing it in order to
update it to the coming mbuf world order -- but it can always be
restored from revision history if it turns out to prove useful for
future work.

Pointed out by: jmallett
Sponsored by: EMC / Isilon Storage Division
sys/kern/uipc_mbuf.c
sys/sys/mbuf.h