[LWIP]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 6 Feb 2016 22:11:03 +0000 (22:11 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 6 Feb 2016 22:11:03 +0000 (22:11 +0000)
- Don't use the already over-used LWIP_TAG for lookaside list allocations

svn path=/trunk/; revision=70696

reactos/lib/drivers/lwip/src/include/rosip.h
reactos/lib/drivers/lwip/src/sys_arch.c

index f8f5592..2838da8 100755 (executable)
@@ -7,7 +7,9 @@
 #include "tcpip.h"
 
 #ifndef LWIP_TAG
 #include "tcpip.h"
 
 #ifndef LWIP_TAG
-    #define LWIP_TAG 'PIwl'
+    #define LWIP_TAG         'PIwl'
+    #define LWIP_MESSAGE_TAG 'sMwl'
+    #define LWIP_QUEUE_TAG   'uQwl'
 #endif
 
 typedef struct tcp_pcb* PTCP_PCB;
 #endif
 
 typedef struct tcp_pcb* PTCP_PCB;
index e6a7978..7fe6ca8 100755 (executable)
@@ -321,7 +321,7 @@ sys_init(void)
                                     NULL,
                                     0,
                                     sizeof(struct lwip_callback_msg),
                                     NULL,
                                     0,
                                     sizeof(struct lwip_callback_msg),
-                                    LWIP_TAG,
+                                    LWIP_MESSAGE_TAG,
                                     0);
     
     ExInitializeNPagedLookasideList(&QueueEntryLookasideList,
                                     0);
     
     ExInitializeNPagedLookasideList(&QueueEntryLookasideList,
@@ -329,7 +329,7 @@ sys_init(void)
                                     NULL,
                                     0,
                                     sizeof(QUEUE_ENTRY),
                                     NULL,
                                     0,
                                     sizeof(QUEUE_ENTRY),
-                                    LWIP_TAG,
+                                    LWIP_QUEUE_TAG,
                                     0);
 }
 
                                     0);
 }