[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-cha
From: |
Bill Auerbach |
Subject: |
[lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list |
Date: |
Mon, 05 Oct 2009 20:12:36 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) |
Follow-up Comment #9, bug #27576 (project lwip):
If it's done in pbuf_free, the check will be less often and will also catch
pbuf corruption if this mismatch should occur after pbuf_realloc.
You're thinking:
LWIP_ASSERT("message",p->next!=NULL || p->len == p->tot_len);
I'm still not sure how things run so well for me with this error. I've
modeled the same driver in 3 ports and all 3 wind up with len != tot_len on
packet receives. Since I've only seen ping throw the error, maybe the check
in ping echo is sufficient? lwIP seems to not be affected by the mismatch
otherwise. If it can cause a problem, I don't think I've seen it (although
we've had one or 2 product crashes and possibly it is the pbuf_realloc while
loop that caused it).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27576>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/01
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/01
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Kieran Mansley, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Kieran Mansley, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Kieran Mansley, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/02
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Simon Goldschmidt, 2009/10/05
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list,
Bill Auerbach <=
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Kieran Mansley, 2009/10/06
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Bill Auerbach, 2009/10/06
- [lwip-devel] [bug #27576] pbuf_realloc will assert or crash on a non-chained pbuf list, Simon Goldschmidt, 2009/10/09