[Xorp-cvs] XORP cvs commit: xorp/fea/data_plane/io

Pavlin Radoslavov pavlin at icir.org
Mon Aug 20 13:48:06 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-08-20 20:48:06 UTC

XORP CVS repository


Modified files:
	fea/data_plane/io io_tcpudp_socket.cc 

Log message:
	Use AsyncFileWriter::add_data() and add_data_sendto()
	instead of add_buffer() and add_buffer_sendto() methods, so the FEA
	itself doesn't need to do buffer management of the data pending to
	be transmitted.
	
	This fixes a bug in the FEA, because previously the FEA didn't
	do the buffer management when transmitting TCP/UDP, and the buffer
	with the transmitted data pointed to memory location that might have
	been deallocated.

Revision  Changes                               Path
1.13      +4 -6;  commitid: 1391646c9fccf7ea6;  xorp/fea/data_plane/io/io_tcpudp_socket.cc



More information about the Xorp-cvs mailing list