[En-Nut-Discussion] ARP packets crashing the TCP stack

Harald Kipp harald.kipp at egnite.de
Sun Jun 18 20:53:50 CEST 2006


We recently had a case, where it was possible to freeze the TCP stack
on 3.9 and later by using simple ping flooding. I assumed that we got
a test case to fix this problem. As it later turned out, it was a
problem in the RTL8019AS driver, when running in edge triggered interrupt
mode.

Some time ago Michael Jones prepared a ARP flood test without "success".
No problem appeared.

However, just now I recognized the call to NutEventBroadcastAsync() in
arpcache.c. Actually it is called nowhere else, except in an old application,
from where I removed it later with a simple comment
/* Broken? */

May be the problem is located here?

Harald


At 23:30 14.06.2006 +0200, you wrote:
>Hi Lloyd,
>
>Tell me, it is really crush the TCP stack?
>I have some problem's too, but i find it in thread rxi5, rxi5 wait on
>NutEventWait, irq service send post to rxi5, but rxi5 sill waiting on
>NutEventWait.
>
>However other thread's still working fine(if do not needed incoming packets
>from ethernet), but without ethernet services :(((.
>
>If you want, I send you code for detecting this problem, but is necessary
>some modification of Ethernut code...
>
>(I Send it here, but without reaction :(  )




More information about the En-Nut-Discussion mailing list