diff --git a/kernel/trunk/network/loopback.inc b/kernel/trunk/network/loopback.inc index 8eb22d9330..8b16866ac4 100644 --- a/kernel/trunk/network/loopback.inc +++ b/kernel/trunk/network/loopback.inc @@ -35,7 +35,7 @@ LOOPBACK_DEVICE: .packets_rx dd 0 .link_state dd -1 - .hwacc dd 0 + .hwacc dd NET_HWACC_TCP_IPv4_IN + NET_HWACC_TCP_IPv4_OUT .namestr db 'loopback', 0 diff --git a/kernel/trunk/network/stack.inc b/kernel/trunk/network/stack.inc index 8fc5a570f3..661c992ad5 100644 --- a/kernel/trunk/network/stack.inc +++ b/kernel/trunk/network/stack.inc @@ -29,7 +29,7 @@ uglobal endg DEBUG_NETWORK_ERROR = 1 -DEBUG_NETWORK_VERBOSE = 1 +DEBUG_NETWORK_VERBOSE = 0 NET_DEVICES_MAX = 16 ARP_BLOCK = 1 ; true or false diff --git a/kernel/trunk/network/tcp_input.inc b/kernel/trunk/network/tcp_input.inc index 1f0f3e4e5c..577df3f7a3 100644 --- a/kernel/trunk/network/tcp_input.inc +++ b/kernel/trunk/network/tcp_input.inc @@ -116,8 +116,8 @@ endl je .checksum_ok ; re-calculate the checksum (if not already done by hw) -; test [ebx + NET_DEVICE.hwacc], HWACC_TCP_IPv4_IN -; jnz .checksum_ok + test [ebx + NET_DEVICE.hwacc], NET_HWACC_TCP_IPv4_IN + jnz .checksum_ok push ecx esi pushw [esi + TCP_header.Checksum]