]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When allocating temporary storage to hold a TCP/IP packet header
authorRobert Watson <rwatson@FreeBSD.org>
Mon, 2 Jun 2008 14:20:26 +0000 (14:20 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Mon, 2 Jun 2008 14:20:26 +0000 (14:20 +0000)
commit53640b0e3a63184e282621037174bf0b9075170e
tree565ab939067a2b0fd5e01b48006e3346699da8c2
parenta147e6cadf7e0b040cabd185739a63a7f2f1d36d
When allocating temporary storage to hold a TCP/IP packet header
template, use an M_TEMP malloc(9) allocation rather than an mbuf
with mtod(9) and dtom(9).  This eliminates the last use of
dtom(9) in TCP.

MFC after: 3 weeks
sys/netinet/tcp_subr.c
sys/netinet/tcp_timer.c