On Wed, 2007-05-23 at 08:19 +0200, Matthias Weisser wrote:
> >>>> that there is room at the front for the necessary headers.  I 
> >>>> suppose if your ethernet driver was being very efficient and 
> >>>> had stripped off the ethernet header before creating the 
> >>>> pbuf, this might not be the case.  Can you show how you're 
> >>>
> >>> Yes, that's what I am doing.
> >>>
> >> In that case it's technically the fault of lwIP and we should 
> >> perhaps change our ICMP to not do this (or at least check the 
> >> pbuf to see if it's OK before it does).  If you'd rather not 
> >> work around it, please file a bug so that it will eventually 
> >> get fixed.
> > 
> > Yes, please file a bug report!
> 
> About what? That ip_input fails if the IP header is not 4 byte
> aligned? Or that etharp_output fails if there is no room at the
> beginning of a p_buf to store the ethernet header?

That ICMP assumes the pbuf you give it has space for a ethernet header
at the front.

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to