[ros-diffs] [cgutman] 45546: - Merge r45531 and r45545 from aicom-network-branch
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Wed Feb 10 01:55:58 CET 2010
Author: cgutman
Date: Wed Feb 10 01:55:58 2010
New Revision: 45546
URL: http://svn.reactos.org/svn/reactos?rev=45546&view=rev
Log:
- Merge r45531 and r45545 from aicom-network-branch
Modified:
trunk/reactos/lib/drivers/ip/transport/tcp/event.c
Modified: trunk/reactos/lib/drivers/ip/transport/tcp/event.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/tcp/event.c?rev=45546&r1=45545&r2=45546&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/event.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/event.c [iso-8859-1] Wed Feb 10 01:55:58 2010
@@ -107,11 +107,11 @@
/* Memory management routines
*
- * By far the most requests for memory are either for 128 or 2048 byte blocks,
+ * By far the most requests for memory are either for 128 or 2049 byte blocks,
* so we want to satisfy those from lookaside lists. Unfortunately, the
* TCPFree() function doesn't pass the size of the block to be freed, so we
* need to keep track of it ourselves. We do it by prepending each block with
- * 4 bytes, indicating if this is a 'L'arge (2048), 'S'mall (128) or 'O'ther
+ * 4 bytes, indicating if this is a 'L'arge (2049), 'S'mall (128) or 'O'ther
* block.
*/
@@ -119,7 +119,7 @@
#define MEM_PROFILE 0
#define SMALL_SIZE 128
-#define LARGE_SIZE 2048
+#define LARGE_SIZE 2049
#define SIGNATURE_LARGE 'LLLL'
#define SIGNATURE_SMALL 'SSSS'
More information about the Ros-diffs
mailing list