Skip to content

Commit 69ec30b

Browse files
committed
Disable lwIP checksum-on-copy
Current version of lwIP has a bug in its checksum-on-copy code - see #4140 and https://savannah.nongnu.org/bugs/?50914 Pending a fix from lwIP, set LWIP_CHECKSUM_ON_COPY to 0 to work around. Will impact performance.
1 parent 42f9a59 commit 69ec30b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/FEATURE_LWIP/lwip-interface/lwipopts.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@
249249

250250
#define LWIP_BROADCAST_PING 1
251251

252-
#define LWIP_CHECKSUM_ON_COPY 1
252+
// Checksum-on-copy disabled due to https://savannah.nongnu.org/bugs/?50914
253+
#define LWIP_CHECKSUM_ON_COPY 0
253254

254255
#define LWIP_NETIF_HOSTNAME 1
255256
#define LWIP_NETIF_STATUS_CALLBACK 1

0 commit comments

Comments
 (0)