fixed a bug in fragmentation optimization. If the number of segmentation is more...
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 16 Dec 2005 08:22:31 +0000 (08:22 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 16 Dec 2005 08:22:31 +0000 (08:22 +0000)
commit5ff9fd1f82b069918756b83d21cd7b055ccbd95e
treec75387f20e239480838d0c3cb06abfa7001a0669
parent319aff217b245d7cea30a91c5f5833d936ae22df
fixed a bug in fragmentation optimization. If the number of segmentation is more than 2 for a message, the optimization is invalid. Fixed by a more conservative way but involves one memcpy.
src/arch/net/machine-tcp.c