Index: /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c
===================================================================
--- /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c	(revision 58548)
+++ /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c	(revision 58549)
@@ -536,7 +536,7 @@
 {
   LWIP_UNUSED_ARG(arg);
-  LWIP_UNUSED_ARG(pcb);
   LWIP_UNUSED_ARG(err);
 
+  tcp_abort(pcb);
   return ERR_ABRT;
 }
Index: /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c
===================================================================
--- /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c	(revision 58548)
+++ /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c	(revision 58549)
@@ -590,6 +590,4 @@
  * don't want to shuffle code around or mess with visibility for now,
  * so just provide a copy here.
- *
- * XXX: tcp_accept_null() is buggy, it should call tcp_abort().
  */
 static err_t
