lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Patch to update from 1.4.0 to 1.4.x?


From: Karl Karpfen
Subject: Re: [lwip-users] Patch to update from 1.4.0 to 1.4.x?
Date: Wed, 18 Mar 2015 14:09:13 +0100

OK, I checked some of the differences between TI's lwIP 1.4.0 and the original version. I don't really understand what's going on:

- in err.c the error ERR_WOULDBLOCK does not exit

- in ipv4/ip.c there is a statement in ip_input() which seems to cause opposite behaviour:
if (check_ip_src && current_iphdr_src.addr == IPADDR_ANY)
vs.
if (check_ip_src && !ip_addr_isany(&current_iphdr_src))

- in core/mem.c the "static sys_mutex_t mem_mutex;" is encapsulated by an "#if !NO_SYS/#endif" which does not exist in original version

Is it possible TI's lwIP bases on some release candidate or BETA-version?

Thanks!


2015-03-18 12:58 GMT+01:00 Robert Deschambault <address@hidden>:

Given the number of fixes and improvements I would recommend going through the pain and try to keep any custom code out of the stock sources. I moved our v1.3.2 code to the latest from the main branch in git.

On Mar 18, 2015 3:57 AM, "Simon Goldschmidt" <address@hidden> wrote:

Karl Karpfen wrote:

So my question: is there a patch available somewhere that can be applied to an existing 1.4.0 which adds all changes and - probably - shows me some conflicts at these positions where my lwIP variant was changed comparing to 1.4.0? http://download.savannah.gnu.org/releases/lwip/ does not contain something like that...

Comparing and merging manually seems to be impossible, nearly all files are changed, so this would be a long time task.

No, there is no patch. You could either create the patch on your own by diffing the two versions, or you could compare your vendors version an the original to see if they have changed something.

Simon

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]