Disable lwIP checksum-on-copy

Current version of lwIP has a bug in its checksum-on-copy code - see

      https://github.com/ARMmbed/mbed-os/issues/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.
pull/4311/head
Kevin Bracey 2017-05-12 10:19:13 +03:00
parent 42f9a59c0d
commit 69ec30b7b9
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@
#define LWIP_BROADCAST_PING 1
#define LWIP_CHECKSUM_ON_COPY 1
// Checksum-on-copy disabled due to https://savannah.nongnu.org/bugs/?50914
#define LWIP_CHECKSUM_ON_COPY 0
#define LWIP_NETIF_HOSTNAME 1
#define LWIP_NETIF_STATUS_CALLBACK 1