[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] IP is longer than pbuf
From: |
Nico Sachs |
Subject: |
[lwip-users] IP is longer than pbuf |
Date: |
Sat, 21 Jul 2012 13:14:14 +0200 |
Hello,
Im on the way to port lwIP for Renesas R62N.
I get some errors in the pbuf lengths.
As i can see the pbuf is allocated correctly, but afterwards its
cutted by -16. and thats exactly the different in the size.
Sometimes i can see it works correct but sometimes not.
I use lwIP 1.41RC1
netif: input length = 60
pbuf_alloc(length=62)
pbuf_alloc: allocated pbuf 79C4
pbuf_alloc(length=62) == 79C4
pbuf_header: old 79D4 new 79D6 (-2)
pbuf_header: old 79D6 new 79D4 (2)
tcpip_thread: PACKET 7714
pbuf_header: old 79D4 new 79E4 (-16)
IP (len 52) is longer than pbuf (len 46), IP packet dropped.
Any Idea where does it comes from? / How to find the failure?
Sometimes the Error is much higher:
netif: input length = 60
pbuf_alloc(length=62)
pbuf_alloc: allocated pbuf 81E4
pbuf_alloc(length=62) == 81E4
pbuf_header: old 81F4 new 81F6 (-2)
pbuf_header: old 81F6 new 81F4 (2)
tcpip_thread: PACKET 3D14
pbuf_header: old 81F4 new 8204 (-16)
IP (len 368) is longer than pbuf (len 46), IP packet dropped.
Thanks Nico
- [lwip-users] IP is longer than pbuf,
Nico Sachs <=