lwip-users
[Top][All Lists]
Advanced

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

RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output


From: Kieran Mansley
Subject: RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output
Date: Wed, 23 May 2007 09:04:39 +0100

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





reply via email to

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