add workaround to avoid LwIP bug

=> http://savannah.nongnu.org/bugs/?32417
This commit is contained in:
Stefan Lankes 2012-09-10 05:32:57 -07:00
parent e1c3ddbc8d
commit cf503426bf
1 changed files with 5 additions and 0 deletions

View File

@ -265,11 +265,16 @@ PACK_STRUCT_END
#endif /* LWIP_EVENT_API */
/** Enabled extra-check for TCP_OVERSIZE if LWIP_DEBUG is enabled */
#if 0
#if TCP_OVERSIZE && defined(LWIP_DEBUG)
#define TCP_OVERSIZE_DBGCHECK 1
#else
#define TCP_OVERSIZE_DBGCHECK 0
#endif
#else
// workaround to avoid bug http://savannah.nongnu.org/bugs/?32417
#define TCP_OVERSIZE_DBGCHECK 0
#endif
/** Don't generate checksum on copy if CHECKSUM_GEN_TCP is disabled */
#define TCP_CHECKSUM_ON_COPY (LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_TCP)