lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6330] Limit input packets on tcpip mbox


From: Jonathan Larmour
Subject: [lwip-devel] [patch #6330] Limit input packets on tcpip mbox
Date: Fri, 07 Dec 2007 16:56:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc5 Firefox/1.5.0.12

Follow-up Comment #6, patch #6330 (project lwip):

That's true, but this implies your cpu is already overloaded with network
processing, and dropping input packets is not going to help this. The
application can send, but if TCP ACKs can't get returned, what's the point. An
application thread that interfaces with the network stack should already
expect that it may block (if the remote end doesn't consume and ack as quickly
as you may like, before send buffers fill up). If you don't want that, you
need to move those operations to a different thread.

I may be being overly averse to changes. So perhaps someone else could
comment?

BTW you would also need to remove the "MySleep" call from that patch. And to
check, in comment #1, you meant to have something like #ifndef
TCPIP_MAX_INPKTS_QUEUED around every addition in the patch?


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6330>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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