<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-7920</id>
	<title>Nabble - nongnu - lwip</title>
	<updated>2009-11-27T08:37:34Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/nongnu---lwip-f7920.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nongnu---lwip-f7920.html" />
	<subtitle type="html">nongnu - lwip home is &lt;a href=&quot;http://savannah.nongnu.org/projects/lwip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26544818</id>
	<title>[bug #28106] duplicate acknowledge for fast retransmit could have not null length</title>
	<published>2009-11-27T08:37:34Z</published>
	<updated>2009-11-27T08:37:34Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #28106 (project lwip):
&lt;br&gt;&lt;br&gt;Linux has:
&lt;br&gt;&lt;br&gt;#define FLAG_NOT_DUP (FLAG_DATA|FLAG_WIN_UPDATE|FLAG_ACKED)
&lt;br&gt;&lt;br&gt;i.e. if the packet has data, updates the window, or acks new data, it is not
&lt;br&gt;a duplicate. &amp;nbsp;The first of these is the point in question. &amp;nbsp;Looks like other
&lt;br&gt;stacks all consider a packet with data in as not a duplicate, so the change
&lt;br&gt;brings us in line with everyone else.
&lt;br&gt;&lt;br&gt;You are quite right that if packets carrying data get interleaved with the
&lt;br&gt;duplicate ACKs it will fail to do fast retransmission due to the dup ack count
&lt;br&gt;being reset, but for most network stacks that would be an unusual case because
&lt;br&gt;received packets would normal be processed in batches. &amp;nbsp;That might not be the
&lt;br&gt;case for users of lwIP, particularly where there are small windows and so not
&lt;br&gt;many packets in flight, but it's better that we're compatible with other
&lt;br&gt;stacks than with older versions of lwIP.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544818&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28106--duplicate-acknowledge-for-fast-retransmit-could-have-not-null-length-tp26543384p26544818.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544136</id>
	<title>[bug #28106] duplicate acknowledge for fast retransmit could have not null length</title>
	<published>2009-11-27T07:46:45Z</published>
	<updated>2009-11-27T07:46:45Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #2, bug #28106 (project lwip):
&lt;br&gt;&lt;br&gt;It is bad, that current implementation &amp;nbsp;of lwip is not compatible with old
&lt;br&gt;one :(
&lt;br&gt;&lt;br&gt;Kieran, I don't understand how fast retransmit works if dup ACK should have 0
&lt;br&gt;length.
&lt;br&gt;&lt;br&gt;suppose host A send packets:
&lt;br&gt;seqno 1 ack 100
&lt;br&gt;seqno 2 ack 101
&lt;br&gt;seqno 3 ack 102 - X this packet lost
&lt;br&gt;seqno 4 ack 103
&lt;br&gt;seqno 5 ack 104
&lt;br&gt;&lt;br&gt;host B send packets
&lt;br&gt;seqno 105 ack 1 len 1
&lt;br&gt;seqno 106 ack 2 len 1
&lt;br&gt;seqno 107 ack 3 len 1
&lt;br&gt;seqno 108 ack 3 len 0 (send dup ack)
&lt;br&gt;seqno 108 ack 3 len 1 (send own data)
&lt;br&gt;seqno 109 ack 3 len 0
&lt;br&gt;seqno 109 ack 3 len 1
&lt;br&gt;seqno 110 ack 3 len 0
&lt;br&gt;seqno 110 ack 3 len 1
&lt;br&gt;&lt;br&gt;Host A receives (ack 3 len 0) - variable dupack incremented
&lt;br&gt;(ack 3 len 1) - dupack reseted
&lt;br&gt;(ack 3 len 0) - dupack incremented
&lt;br&gt;(ack 3 len 1) - dupack reseted
&lt;br&gt;and so on
&lt;br&gt;&lt;br&gt;Without length testing it seems to work.
&lt;br&gt;&lt;br&gt;Stevens in TCP/IP Illustrated use 4.4BSD-Lite sources.
&lt;br&gt;It is interesting what say about duplicate ACKs standard
&lt;br&gt;and how it is implemented e.g. in Linux?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544136&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28106--duplicate-acknowledge-for-fast-retransmit-could-have-not-null-length-tp26543384p26544136.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543846</id>
	<title>Fredrik Hederstierna is out of the office.</title>
	<published>2009-11-27T07:23:22Z</published>
	<updated>2009-11-27T07:23:22Z</updated>
	<author>
		<name>Fredrik Hederstierna-2</name>
	</author>
	<content type="html">&lt;br&gt;I will be out of the office starting &amp;nbsp;2009-11-27 and will not return until
&lt;br&gt;2009-12-07.
&lt;br&gt;&lt;br&gt;I will respond to your message when I return.
&lt;br&gt;Try contact Erik Ekman or Stefan Svensson for technical issues.
&lt;br&gt;I'm also partly available from phone +46 768 506799.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543846&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fredrik-Hederstierna-is-out-of-the-office.-tp26543846p26543846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543543</id>
	<title>[bug #28106] duplicate acknowledge for fast retransmit could have not null length</title>
	<published>2009-11-27T06:59:53Z</published>
	<updated>2009-11-27T06:59:53Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #28106 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; 1.3.2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543543&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28106--duplicate-acknowledge-for-fast-retransmit-could-have-not-null-length-tp26543384p26543543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543516</id>
	<title>[bug #28106] duplicate acknowledge for fast retransmit could have not null length</title>
	<published>2009-11-27T06:57:18Z</published>
	<updated>2009-11-27T06:57:18Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #1, bug #28106 (project lwip):
&lt;br&gt;&lt;br&gt;Yes, that's an interesting case, and I agree with your deduction. &amp;nbsp;It's not
&lt;br&gt;just necessary because of the change to our stack, many other stacks will have
&lt;br&gt;this requirement for an ACK to be seen as a duplicate.
&lt;br&gt;&lt;br&gt;We currently have no function to send a pure ACK with no data, but it is
&lt;br&gt;necessary in this case.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543516&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28106--duplicate-acknowledge-for-fast-retransmit-could-have-not-null-length-tp26543384p26543516.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543426</id>
	<title>[bug #28064] pbuf_alloc(PBUF_POOL) is not thread-safe</title>
	<published>2009-11-27T06:50:30Z</published>
	<updated>2009-11-27T06:50:30Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #4, bug #28064 (project lwip):
&lt;br&gt;&lt;br&gt;I think that's a good approach for the short term and we can leave this bug
&lt;br&gt;open to come up with something better, if necessary, for 1.4.0
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28064&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28064&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543426&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28064--pbuf_alloc%28PBUF_POOL%29-cannot-be-used-from-ISR-any-more-tp26447702p26543426.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543384</id>
	<title>[bug #28106] duplicate acknowledge for fast retransmit could have not null length</title>
	<published>2009-11-27T06:47:32Z</published>
	<updated>2009-11-27T06:47:32Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: duplicate acknowledge for fast retransmit could
&lt;br&gt;have not null length
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: lwIP - A Lightweight TCP/IP stack
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: olegreen
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Fri 27 Nov 2009 02:47:31 PM GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: TCP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: Faulty Behaviour
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lwIP version: CVS Head
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;Last post I have done was for bug with status fixed,
&lt;br&gt;title was not completely correct too.
&lt;br&gt;So I submit new bug.
&lt;br&gt;&lt;br&gt;In new implementation of fast retransmit we have following rules:
&lt;br&gt;/* (From Stevens TCP/IP Illustrated Vol II, p970.) Its only a
&lt;br&gt;&amp;nbsp;* duplicate ack if:
&lt;br&gt;&amp;nbsp;* 1) It doesn't ACK new data 
&lt;br&gt;&amp;nbsp;* 2) length of received packet is zero (i.e. no payload) 
&lt;br&gt;&amp;nbsp;* 3) the advertised window hasn't changed 
&lt;br&gt;&amp;nbsp;* 4) There is outstanding unacknowledged data (retransmission timer
&lt;br&gt;running)
&lt;br&gt;&amp;nbsp;* 5) The ACK is == biggest ACK sequence number so far seen (snd_una)
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&lt;br&gt;We check clause 2
&lt;br&gt;&amp;quot;length of received packet is zero (i.e. no payload)&amp;quot;
&lt;br&gt;&lt;br&gt;It means that we should ourself generate zero length ACK for each new segment
&lt;br&gt;in out of sequence queue.
&lt;br&gt;But now we call tcp_ack_now(pcb).
&lt;br&gt;If unsent queue has something, we send non zero length ACK packet.
&lt;br&gt;&lt;br&gt;Actually in RFCs I didn't found mentioning about zero length ACK,
&lt;br&gt;only Stevens.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28106&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28106&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543384&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28106--duplicate-acknowledge-for-fast-retransmit-could-have-not-null-length-tp26543384p26543384.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543066</id>
	<title>Re: pbuf pool size / mss size in low memory	environment and routing to slow link</title>
	<published>2009-11-27T06:05:21Z</published>
	<updated>2009-11-27T06:05:21Z</updated>
	<author>
		<name>fepgmbh</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-15&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;font size=&quot;-1&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;Hi Kieran,&lt;br&gt;
&lt;br&gt;
the 36 pbufs with 256 bytes each and 1200 byte MSS did not work ;-)&lt;br&gt;
&lt;br&gt;
Is there a recommendation of the relation between pbuf size and MSS? I
did not find anything about this is the documentation ...&lt;br&gt;
&lt;br&gt;
Marco&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Kieran Mansley schrieb:
&lt;blockquote cite=&quot;mid:1258708658.3274.1.camel@zircon.uk.level5networks.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;On Thu, 2009-11-19 at 13:15 -0800, fepgmbh wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;First of all, 6 pbufs seems not to be very much, and as i understood
they
can be chained together, i changed this to 36 pbufs with 256 bytes
each -
noticing that now the TCP connections won't work with the 1200 byte
MSS.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
I wonder if your driver can handle that case correctly?  It has to know
to split the received packet across pbufs.  A naive driver might ignore
pbuf chains (on send as well as receive).

Kieran



_______________________________________________
lwip-users mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543066&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543066&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pbuf-pool-size---mss-size-in-low-memory-environment-and-routing-to-slow-link-tp26421483p26543066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539032</id>
	<title>[task #7930] Create automatic test cases</title>
	<published>2009-11-27T00:05:57Z</published>
	<updated>2009-11-27T00:05:57Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #7, task #7930 (project lwip):
&lt;br&gt;&lt;br&gt;First unit tests added, mainly for testing tcp ooseq processing.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/task/?7930&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/task/?7930&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539032&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-task--7930--Create-automatic-test-cases-tp16568741p26539032.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539026</id>
	<title>[bug #28054] Two segments with FIN flag on the out-of-sequence queue</title>
	<published>2009-11-27T00:05:25Z</published>
	<updated>2009-11-27T00:05:25Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #16, bug #28054 (project lwip):
&lt;br&gt;&lt;br&gt;The unit tests I just checked in seem to confirm the patch works (although
&lt;br&gt;not all clauses of the code addin ooseq segments are covered, yet).
&lt;br&gt;&lt;br&gt;I would convert the new function to static though, to give the compiler room
&lt;br&gt;for improvements.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28054&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28054&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28054--Two-segments-with-FIN-flag-on-the-out-of-sequence-queue-tp26430195p26539026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538530</id>
	<title>Re: memp_malloc system protection</title>
	<published>2009-11-26T22:56:35Z</published>
	<updated>2009-11-26T22:56:35Z</updated>
	<author>
		<name>goldsimon@gmx.de</name>
	</author>
	<content type="html">Mike Kleshov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/27 &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538530&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538530&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Yes, you should. That's what's SYS_LIGHTWEIGHT_PROT is meant to be for.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Surely it depends on the application. I'm using lwip raw API with no
&lt;br&gt;&amp;gt; OS. I'm not using any concurrent access protection whatsoever. My
&lt;br&gt;&amp;gt; interrupt service routines are small and simple, and they are not
&lt;br&gt;&amp;gt; related to lwip in any way. Hence, no need for any protection.
&lt;/div&gt;I didn't think anyone having thought this through like you did would ask 
&lt;br&gt;such a question, so basically the answer is still &amp;quot;yes, the memp pools 
&lt;br&gt;need protection&amp;quot;! If you know you are running in a system where there is 
&lt;br&gt;no need for protection, the question wouldn't have arised...
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538530&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memp_malloc-system-protection-tp26533792p26538530.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538495</id>
	<title>Re: memp_malloc system protection</title>
	<published>2009-11-26T22:48:46Z</published>
	<updated>2009-11-26T22:48:46Z</updated>
	<author>
		<name>Mike Kleshov-2</name>
	</author>
	<content type="html">2009/11/27 &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538495&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538495&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Yes, you should. That's what's SYS_LIGHTWEIGHT_PROT is meant to be for.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simon
&lt;br&gt;&lt;br&gt;Surely it depends on the application. I'm using lwip raw API with no
&lt;br&gt;OS. I'm not using any concurrent access protection whatsoever. My
&lt;br&gt;interrupt service routines are small and simple, and they are not
&lt;br&gt;related to lwip in any way. Hence, no need for any protection.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538495&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memp_malloc-system-protection-tp26533792p26538495.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538344</id>
	<title>[bug #28064] pbuf_alloc(PBUF_POOL) is not thread-safe</title>
	<published>2009-11-26T22:24:53Z</published>
	<updated>2009-11-26T22:24:53Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #28064 (project lwip):
&lt;br&gt;&lt;br&gt;The code in question has been added on jan 28th, 2009 after a discussion on
&lt;br&gt;lwip-users (without a bugtracker entry): Jonathan came up with a calculation
&lt;br&gt;of how long it takes to free ooseq pbufs. 
&lt;br&gt;&lt;br&gt;Having that calculation in mind, the most simple solution probably is to call
&lt;br&gt;tcpip_callback (non-blocking) to free the ooseq pbufs in the correct thread
&lt;br&gt;context. Of course, that doesn't work when allocating from an ISR with
&lt;br&gt;NO_SYS=1.
&lt;br&gt;&lt;br&gt;The downside is of course that we still loose some packets until the
&lt;br&gt;ooseq-freeing code runs in tcpip_thread, but that's the best I can currently
&lt;br&gt;think of.
&lt;br&gt;&lt;br&gt;Any comments on this before I make the canges?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28064&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28064&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28064--pbuf_alloc%28PBUF_POOL%29-cannot-be-used-from-ISR-any-more-tp26447702p26538344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538289</id>
	<title>Re: memp_malloc system protection</title>
	<published>2009-11-26T22:15:43Z</published>
	<updated>2009-11-26T22:15:43Z</updated>
	<author>
		<name>goldsimon@gmx.de</name>
	</author>
	<content type="html">Francois Bouchard wrote:
&lt;br&gt;&amp;gt; I'm running lwIP in stand alone mode and I'm wondering if I 
&lt;br&gt;&amp;gt; should mask interrupts routines during buffer allocation? &amp;nbsp;memp_malloc()
&lt;br&gt;Yes, you should. That's what's SYS_LIGHTWEIGHT_PROT is meant to be for.
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memp_malloc-system-protection-tp26533792p26538289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533792</id>
	<title>memp_malloc system protection</title>
	<published>2009-11-26T10:59:38Z</published>
	<updated>2009-11-26T10:59:38Z</updated>
	<author>
		<name>Francois Bouchard</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2800.1555&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I'm running&amp;nbsp;lwIP in stand alone mode and I'm 
wondering if I should&amp;nbsp;mask interrupts routines during&amp;nbsp;buffer 
allocation?&amp;nbsp; memp_malloc()&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;THx &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Francois&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memp_malloc-system-protection-tp26533792p26533792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532676</id>
	<title>[bug #28064] pbuf_alloc(PBUF_POOL) is not thread-safe</title>
	<published>2009-11-26T08:59:12Z</published>
	<updated>2009-11-26T08:59:12Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #28064 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 - Normal =&amp;gt; 5 - Blocker &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; In Progress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; goldsimon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: pbuf_alloc(PBUF_POOL) cannot be used from ISR any
&lt;br&gt;more =&amp;gt; pbuf_alloc(PBUF_POOL) is not thread-safe
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #2:
&lt;br&gt;&lt;br&gt;Updated summary and status:
&lt;br&gt;&lt;br&gt;This is a blocker: if the pbuf-pool is empty, pbuf_alloc_pool iterates the
&lt;br&gt;tcp_active_pcbs list from every thread. This has been introduced with 1.3.1.
&lt;br&gt;&lt;br&gt;As nice as this feature (reclaiming ooseq pbufs) is, it doesn't work as it
&lt;br&gt;is.
&lt;br&gt;&lt;br&gt;If we still want this, we have to implement it in another way so that the
&lt;br&gt;ooseq-freeing code runs in the tcpip-thread.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28064&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28064&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28064--pbuf_alloc%28PBUF_POOL%29-cannot-be-used-from-ISR-any-more-tp26447702p26532676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532592</id>
	<title>[bug #28098] Nagle can prevent fast retransmit from sending segment</title>
	<published>2009-11-26T08:44:27Z</published>
	<updated>2009-11-26T08:44:27Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #28098 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; goldsimon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open =&amp;gt; Closed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #2:
&lt;br&gt;&lt;br&gt;The fix was rather simple: tcp_do_output_nagle() must return TRUE if
&lt;br&gt;pcb-&amp;gt;flags has TF_INFR set.
&lt;br&gt;&lt;br&gt;Fixed, thanks for reporting.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28098&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28098--Nagle-can-prevent-fast-retransmit-from-sending-segment-tp26528268p26532592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531921</id>
	<title>[bug #28099] API required to disable Nagle algorithm at PCB level</title>
	<published>2009-11-26T07:19:48Z</published>
	<updated>2009-11-26T07:19:48Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #28099 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; goldsimon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open =&amp;gt; Closed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #1:
&lt;br&gt;&lt;br&gt;Good idea. Added tcp_nagle_*() function-like macros.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28099&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28099&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531921&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28099--API-required-to-disable-Nagle-algorithm-at-PCB-level-tp26528279p26531921.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531851</id>
	<title>[bug #28098] Nagle can prevent fast retransmit from sending segment</title>
	<published>2009-11-26T07:07:20Z</published>
	<updated>2009-11-26T07:07:20Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #1, bug #28098 (project lwip):
&lt;br&gt;&lt;br&gt;Hmm, this is indeed a problem that should be fixed for 1.3.2 as the nagle on
&lt;br&gt;pcb-level is quite new...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28098&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531851&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28098--Nagle-can-prevent-fast-retransmit-from-sending-segment-tp26528268p26531851.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531846</id>
	<title>[bug #28087] accept() timeout but errno not set to ETIMEOUT</title>
	<published>2009-11-26T07:06:22Z</published>
	<updated>2009-11-26T07:06:22Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #28087 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; 1.4.0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #1:
&lt;br&gt;&lt;br&gt;To implement this satisfactingly, the netconn API has to be changed:
&lt;br&gt;netconn_accept() has to return an err_t instead of the connection pointer.
&lt;br&gt;&lt;br&gt;Together with bug #27709 (conn-&amp;gt;err race condition on netconn_recv()
&lt;br&gt;timeout), this will have to wait until 1.4.0.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28087&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28087&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531846&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28087--accept%28%29-timeout-but-errno-not-set-to-ETIMEOUT-tp26508098p26531846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528279</id>
	<title>[bug #28099] API required to disable Nagle algorithm at PCB level</title>
	<published>2009-11-26T03:45:37Z</published>
	<updated>2009-11-26T03:45:37Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28099&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28099&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: API required to disable Nagle algorithm at PCB
&lt;br&gt;level
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: lwIP - A Lightweight TCP/IP stack
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: hbryson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Thu 26 Nov 2009 11:45:36 GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: TCP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: Feature Request
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lwIP version: 1.3.1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;Instead of using &amp;quot;tpcb-&amp;gt;flags |= TF_NODELAY&amp;quot;, it would be good if there was
&lt;br&gt;an API to disable Nagle algorithm for applications using the tcp_*() APIs such
&lt;br&gt;as tcp_connect()
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28099&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28099&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528279&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28099--API-required-to-disable-Nagle-algorithm-at-PCB-level-tp26528279p26528279.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528268</id>
	<title>[bug #28098] Nagle can prevent fast retransmit from sending segment</title>
	<published>2009-11-26T03:37:55Z</published>
	<updated>2009-11-26T03:37:55Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28098&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Nagle can prevent fast retransmit from sending
&lt;br&gt;segment
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: lwIP - A Lightweight TCP/IP stack
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: hbryson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Thu 26 Nov 2009 11:37:54 GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: TCP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: Faulty Behaviour
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lwIP version: 1.3.1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;If fast retransmit (tcp_rexmit() from tcp_receive()) attempts to output a
&lt;br&gt;segment, the segment can be blocked by Nagle algorithm (if it matches the
&lt;br&gt;appropriate criteria). It should not be.
&lt;br&gt;&lt;br&gt;If a slow retransmission occurs after the above event(tcp_rexmit_rto()), the
&lt;br&gt;previous &amp;quot;stuck&amp;quot; segment is queued behind all its subsequent segments in the
&lt;br&gt;unsent queue. When the unsent queue is output, the &amp;quot;stuck&amp;quot; segment will again
&lt;br&gt;be prevented by Nagle from getting transmitted.
&lt;br&gt;&lt;br&gt;If no sunsequent data is enqueued to TCP (e.g. TCP PCB is &amp;quot;full&amp;quot;), the above
&lt;br&gt;condition is persistent and the connection will stall and eventually fail.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28098&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28098--Nagle-can-prevent-fast-retransmit-from-sending-segment-tp26528268p26528268.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517730</id>
	<title>[bug #27445] PCB hangs in Fast Retransmit due to unchanging cwnd</title>
	<published>2009-11-25T10:13:18Z</published>
	<updated>2009-11-25T10:13:18Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #14, bug #27445 (project lwip):
&lt;br&gt;&lt;br&gt;Ok, now we have Clause 2
&lt;br&gt;&amp;quot;length of received packet is zero (i.e. no payload)&amp;quot;
&lt;br&gt;&lt;br&gt;It means that we should our self generate _zero length_ ACK for each new
&lt;br&gt;segment in out of sequence queue.
&lt;br&gt;But now we call tcp_ack_now(pcb).
&lt;br&gt;If unsent queue has something, we send non zero length ACK.
&lt;br&gt;&lt;br&gt;Actually in RFCs I didn't found mentioning about zero length ACK,
&lt;br&gt;only Stevens.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?27445&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?27445&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517730&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27445--PCB-hangs-in-Fast-Retransmit-due-to-unchanging-cwnd-tp25439066p26517730.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509782</id>
	<title>[patch #6969] PPP: missing PAP authentication UNTIMEOUT</title>
	<published>2009-11-25T01:34:29Z</published>
	<updated>2009-11-25T01:34:29Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #1, patch #6969 (project lwip):
&lt;br&gt;&lt;br&gt;Yesterday I sent a mail to one of the pppd developers
&lt;br&gt;(&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509782&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulus@...&lt;/a&gt;) about this patch. This is his response:
&lt;br&gt;&lt;br&gt;&amp;quot;Your proposed fix looks reasonable, although I would probably put the
&lt;br&gt;UNTIMEOUT() just before the assignment to 
&lt;br&gt;u-&amp;gt;us_clientstate.&amp;quot;
&lt;br&gt;&lt;br&gt;This is not submitted yet to the pppd bugtracker.
&lt;br&gt;I think this is the solution of:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ppp.samba.org/cgi-bin/ppp-bugs/incoming?id=1163;user=guest&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ppp.samba.org/cgi-bin/ppp-bugs/incoming?id=1163;user=guest&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://savannah.nongnu.org/bugs/?13315&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.nongnu.org/bugs/?13315&lt;/a&gt;&lt;br&gt;&lt;br&gt;As Paul suggested, I propose to add
&lt;br&gt;UNTIMEOUT(upap_timeout, u); /* Cancel timeout */
&lt;br&gt;just before u-&amp;gt;us_clientstate = UPAPCS_OPEN;
&lt;br&gt;&lt;br&gt;I think this should go into lwip 1.3.2. Any objections?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6969&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6969&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509782&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6969--PPP%3A-missing-PAP-authentication-UNTIMEOUT-tp26229610p26509782.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509651</id>
	<title>[bug #21680] PPP upap_rauthnak() drops legal NAK packets</title>
	<published>2009-11-25T01:23:30Z</published>
	<updated>2009-11-25T01:23:30Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #4, bug #21680 (project lwip):
&lt;br&gt;&lt;br&gt;I compared the the current lwip ppp implementation
&lt;br&gt;with ucip (which seems to be dead) and pppd 2.4.5
&lt;br&gt;(which is just 2 weeks old). 
&lt;br&gt;&lt;br&gt;The latest release (ucip1-0-3.zip) that can be 
&lt;br&gt;downloaded from &lt;a href=&quot;http://sourceforge.net/projects/ucip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/ucip/&lt;/a&gt;&lt;br&gt;is much different when compared with the sources I got
&lt;br&gt;via cvs. The conclusion is that there is nothing 
&lt;br&gt;to port from ucip, but it was very helpful to 
&lt;br&gt;look at it because I understood better what Marc did. 
&lt;br&gt;Thanks, Simon.
&lt;br&gt;&lt;br&gt;There are some fixes in pppd 2.4.5 that I wish to
&lt;br&gt;backport here. Unfortunately the function/struct/var/const
&lt;br&gt;definitions in pppd appear in different order.
&lt;br&gt;The order in lwip is better, but I reverted it because
&lt;br&gt;the comparison is much harder.
&lt;br&gt;&lt;br&gt;The new files are attached. I'll be glad if someone
&lt;br&gt;can test them. I may have mistaken some #if 0 or #endif.
&lt;br&gt;&lt;br&gt;PS: please take a look at 
&lt;br&gt;&lt;a href=&quot;https://savannah.nongnu.org/patch/?6969&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.nongnu.org/patch/?6969&lt;/a&gt;&amp;nbsp;!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;(file #19129, file #19130, file #19131, file #19132)
&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Additional Item Attachment:
&lt;br&gt;&lt;br&gt;File name: fsm.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size:23 KB
&lt;br&gt;File name: ipcp.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size:43 KB
&lt;br&gt;File name: lcp.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size:57 KB
&lt;br&gt;File name: pap.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size:15 KB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?21680&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?21680&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--21680--PPP-upap_rauthnak%28%29-drops-legal-NAK-packets-tp14038272p26509651.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508098</id>
	<title>[bug #28087] accept() timeout but errno not set to ETIMEOUT</title>
	<published>2009-11-24T22:24:47Z</published>
	<updated>2009-11-24T22:24:47Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28087&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28087&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: accept() timeout but errno not set to ETIMEOUT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: lwIP - A Lightweight TCP/IP stack
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: hanhui03
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Wed Nov 25 06:24:45 2009
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: sockets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Planned Release: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lwIP version: CVS Head
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;In accept() function, when netconn_accept() return NULL, if sock-&amp;gt;conn-&amp;gt;err
&lt;br&gt;is ERR_OK, errno should be ETIMEOUT.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28087&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28087&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508098&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28087--accept%28%29-timeout-but-errno-not-set-to-ETIMEOUT-tp26508098p26508098.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26482837</id>
	<title>[bug #28054] Two segments with FIN flag on the out-of-sequence queue</title>
	<published>2009-11-23T09:40:46Z</published>
	<updated>2009-11-23T09:40:46Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #15, bug #28054 (project lwip):
&lt;br&gt;&lt;br&gt;Patch again corrected.
&lt;br&gt;It was error in processing last segment.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; if (next-&amp;gt;next == NULL &amp;&amp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TCP_SEQ_GT(seqno, next-&amp;gt;tcphdr-&amp;gt;seqno)) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; if (TCPH_FLAGS(next-&amp;gt;tcphdr) &amp; TCP_FIN) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; /* segment &amp;quot;next&amp;quot; already contains all data */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;(file #19118)
&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Additional Item Attachment:
&lt;br&gt;&lt;br&gt;File name: oos_fin.patch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size:6 KB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28054&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28054&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26482837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28054--Two-segments-with-FIN-flag-on-the-out-of-sequence-queue-tp26430195p26482837.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479846</id>
	<title>[bug #28054] Two segments with FIN flag on the out-of-sequence queue</title>
	<published>2009-11-23T07:11:15Z</published>
	<updated>2009-11-23T07:11:15Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #14, bug #28054 (project lwip):
&lt;br&gt;&lt;br&gt;I'll take a look at the patch, and if I think it's safe I'll try and get it
&lt;br&gt;in to 1.3.2
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28054&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28054&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479846&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28054--Two-segments-with-FIN-flag-on-the-out-of-sequence-queue-tp26430195p26479846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479792</id>
	<title>[bug #28054] Two segments with FIN flag on the out-of-sequence queue</title>
	<published>2009-11-23T07:08:03Z</published>
	<updated>2009-11-23T07:08:03Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #13, bug #28054 (project lwip):
&lt;br&gt;&lt;br&gt;The patch looks good to me. I also like the separation into smaller
&lt;br&gt;functions, it would do the rest of the code good, too, since it gets more
&lt;br&gt;readable. And at least MSVC and gcc seem to inline static functions quite
&lt;br&gt;well, which means that code size isn't an argument here.
&lt;br&gt;&lt;br&gt;However, I'm not in a position to test it and a &amp;quot;should work&amp;quot; might not be
&lt;br&gt;enough at this stage of release, so we might want to delay this until after
&lt;br&gt;the 1.3.2 release...?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28054&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28054&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28054--Two-segments-with-FIN-flag-on-the-out-of-sequence-queue-tp26430195p26479792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26478329</id>
	<title>[bug #28054] Two segments with FIN flag on the out-of-sequence queue</title>
	<published>2009-11-23T05:48:04Z</published>
	<updated>2009-11-23T05:48:04Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #12, bug #28054 (project lwip):
&lt;br&gt;&lt;br&gt;In this patch common part for insertion packet into
&lt;br&gt;oos queue is moved into separate function.
&lt;br&gt;&lt;br&gt;I have tested this patch with FIN packets.
&lt;br&gt;With other packets it should work too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;(file #19117)
&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Additional Item Attachment:
&lt;br&gt;&lt;br&gt;File name: oos_fin.patch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size:5 KB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28054&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28054&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26478329&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28054--Two-segments-with-FIN-flag-on-the-out-of-sequence-queue-tp26430195p26478329.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475058</id>
	<title>Last call for bugs for 1.3.2</title>
	<published>2009-11-23T01:42:51Z</published>
	<updated>2009-11-23T01:42:51Z</updated>
	<author>
		<name>Kieran Mansley</name>
	</author>
	<content type="html">Thanks to some great work by Simon over the weekend, there are now no
&lt;br&gt;bugs blocking the release of lwIP 1.3.2. &amp;nbsp;If you know of a problem but
&lt;br&gt;haven't yet reported it, please do so as soon as possible. &amp;nbsp;If there
&lt;br&gt;aren't any more problems I'll be making the final release in the next
&lt;br&gt;couple of days.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Kieran
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Last-call-for-bugs-for-1.3.2-tp26475058p26475058.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475063</id>
	<title>Last call for bugs for 1.3.2</title>
	<published>2009-11-23T01:42:51Z</published>
	<updated>2009-11-23T01:42:51Z</updated>
	<author>
		<name>Kieran Mansley</name>
	</author>
	<content type="html">Thanks to some great work by Simon over the weekend, there are now no
&lt;br&gt;bugs blocking the release of lwIP 1.3.2. &amp;nbsp;If you know of a problem but
&lt;br&gt;haven't yet reported it, please do so as soon as possible. &amp;nbsp;If there
&lt;br&gt;aren't any more problems I'll be making the final release in the next
&lt;br&gt;couple of days.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Kieran
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Last-call-for-bugs-for-1.3.2-tp26475063p26475063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473517</id>
	<title>Re: pbuf pool size / mss size in low memory environment and routing to slow link</title>
	<published>2009-11-22T23:01:31Z</published>
	<updated>2009-11-22T23:01:31Z</updated>
	<author>
		<name>Chris Strahm</name>
	</author>
	<content type="html">&amp;gt; &amp;gt; First of all, 6 pbufs seems not to be very much, and as i understood
&lt;br&gt;they
&lt;br&gt;&amp;gt; &amp;gt; can be chained together, i changed this to 36 pbufs with 256 bytes each
&lt;br&gt;&amp;gt; &amp;gt; noticing that now the TCP connections won't work with the 1200 byte
&lt;br&gt;&amp;gt; &amp;gt; MSS.
&lt;br&gt;&lt;br&gt;&amp;gt; I wonder if your driver can handle that case correctly? &amp;nbsp;It has to know
&lt;br&gt;&amp;gt; to split the received packet across pbufs. &amp;nbsp;A naive driver might ignore
&lt;br&gt;&amp;gt; pbuf chains (on send as well as receive).
&lt;br&gt;&amp;gt; Kieran
&lt;br&gt;&lt;br&gt;Correct, I wrote my own driver for the ARM7 &amp;nbsp;LPC23XX/24XX. &amp;nbsp;I wrote the
&lt;br&gt;driver so that it could handle PBUFs of different size than the EMAC DMA
&lt;br&gt;buffers: equal, bigger, or smaller. &amp;nbsp;Unless your driver is specifically
&lt;br&gt;written to handle all of this data reorganization between the PBUFs and the
&lt;br&gt;DMA bufs, it's best to assume they need to be the exact same size.
&lt;br&gt;&lt;br&gt;I was curious to know how much difference in speed there would be with
&lt;br&gt;various buffer sizes, and equal or not equal. &amp;nbsp;I tested with a 4MB stream of
&lt;br&gt;TCP data. &amp;nbsp;The data rate is currently around 2.2MB/sec. &amp;nbsp;I tested with BUF
&lt;br&gt;sizes down to 128 bytes, and up to 1536. &amp;nbsp;But in each case the total RAM was
&lt;br&gt;the same, about 12K.
&lt;br&gt;&lt;br&gt;There wasn't much difference in speed, maybe +/- 10%. &amp;nbsp;I expected a larger
&lt;br&gt;penalty when the buffer sizes were not equal, and/or when they were smaller,
&lt;br&gt;but it really didn't affect it significantly. &amp;nbsp;Very little speed difference.
&lt;br&gt;Not much difference either with a large number of 24/256 size buffers, or a
&lt;br&gt;small number of 4/1536 buffers. &amp;nbsp;I could see no significant speed penalty by
&lt;br&gt;chaining buffers either. &amp;nbsp;The chaining appears very efficient.
&lt;br&gt;&lt;br&gt;With all that in mind, &amp;nbsp;the most flexible combination is to use a larger
&lt;br&gt;number of smaller buffers. &amp;nbsp;256 bytes seems about optimal and provides more
&lt;br&gt;resources for higher frequency small packet traffic. &amp;nbsp;Several of the other
&lt;br&gt;TCP stacks I have used employed dual small/big buffers as a solution to this
&lt;br&gt;problem. &amp;nbsp;However, I have to give lwIP credit here, the PBUF chaining
&lt;br&gt;approach gives all this small/big buffer size flexibility with virtually no
&lt;br&gt;speed penalty.
&lt;br&gt;&lt;br&gt;My experience also suggests that lwIP [RAW] is about the fastest, smallest,
&lt;br&gt;and most capable TCP stack solution for embedded systems with minimal RAM
&lt;br&gt;resources. &amp;nbsp;I am using this with FreeRTOS and my profiling shows only about
&lt;br&gt;75% CPU utilization during the saturated TX/RX transfer. &amp;nbsp;I think even more
&lt;br&gt;speed is still possible with further optimizations and tuning, which is what
&lt;br&gt;I am working on now. &amp;nbsp;memcpy and chksum routines are very important, as well
&lt;br&gt;as many other somewhat obscure areas. &amp;nbsp; I am curious to see if I can
&lt;br&gt;increase the speed further.
&lt;br&gt;&lt;br&gt;Chris.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26473517&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pbuf-pool-size---mss-size-in-low-memory-environment-and-routing-to-slow-link-tp26421483p26473517.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26469101</id>
	<title>Re: new data callback with pbuf pointer of zero</title>
	<published>2009-11-22T12:23:30Z</published>
	<updated>2009-11-22T12:23:30Z</updated>
	<author>
		<name>JM-27</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;Oops, somehow I missed that statement in that file!&amp;nbsp; (I have looked at it several times previously)&lt;br&gt;&lt;br&gt;--- On &lt;b&gt;Sun, 11/22/09, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt; &lt;i&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt;&amp;gt;&lt;/i&gt;&lt;/b&gt; wrote:&lt;br&gt;&lt;blockquote style=&quot;border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;&quot;&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goldsimon@...&lt;/a&gt;&amp;gt;&lt;br&gt;Subject: Re: [lwip-users] new data callback with pbuf pointer of zero&lt;br&gt;To: &quot;Mailing list for lwIP users&quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;&amp;gt;&lt;br&gt;Date: Sunday, November 22, 2009, 1:54 PM&lt;br&gt;&lt;br&gt;&lt;div class=&quot;plainMail&quot;&gt;JM wrote:&lt;br&gt;&amp;gt; I'm a bit confused by this one.&amp;nbsp; It took me a while to track down the cause of my crashes, but I finally discovered that the callback specified by tcp_recv was being passed a a pointer of zero for the pbuf.&amp;nbsp; The callback function never checked for this and cause the processor to
 throw an exception because of the invalid pbuf pointer.&amp;nbsp; Anyway, I have the callback return if the passed pbuf is zero and now it's fine.&amp;nbsp; The passed error code is zero. &lt;br&gt;&amp;gt; What would cause it to be passed zero for the pbuf?&amp;nbsp; By definition, isn't this callback used when there is data to provide?&amp;nbsp; I'm using 1.3.0 in raw mode.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;Excerpt from doc/rawapi.txt&lt;br&gt;The callback function will be passed a NULL pbuf to indicate that the remote host has closed the connection.&lt;br&gt;&lt;br&gt;Does that make it clear enough? :-)&lt;br&gt;&lt;br&gt;Simon&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________&lt;br&gt;lwip-users mailing list&lt;br&gt;&lt;a ymailto=&quot;mailto:lwip-users@nongnu.org&quot; href=&quot;/mc/compose?to=lwip-users@nongnu.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;lwip-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469101&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-users&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-users-f7923.html&quot; embed=&quot;fixTarget[7923]&quot; target=&quot;_top&quot; &gt;lwip-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/new-data-callback-with-pbuf-pointer-of-zero-tp26467721p26469101.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26468456</id>
	<title>[bug #25882] TCP hangs on MSS &gt; pcb-&gt;snd_wnd</title>
	<published>2009-11-22T11:14:09Z</published>
	<updated>2009-11-22T11:14:09Z</updated>
	<author>
		<name>Ben Asselstine-2</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #8, bug #25882 (project lwip):
&lt;br&gt;&lt;br&gt;&amp;gt; for example keeping track of the largest window the other side has
&lt;br&gt;advertised
&lt;br&gt;&lt;br&gt;That would mean taking this value as an upper limit for segment sizes in
&lt;br&gt;tcp_enqueue? That would solve the problem where the server never announced a
&lt;br&gt;window &amp;gt;= MSS. Plus it's an easy chance that doesn't have a big influence on
&lt;br&gt;performance.
&lt;br&gt;&lt;br&gt;But couldn't a (badly implemented) remote TCP get into a state where the
&lt;br&gt;window once was larger but now doesn't grow? Could this case be solved by
&lt;br&gt;including code in the persist timer to send more than one byte (i.e. send as
&lt;br&gt;much as the window allows)?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?25882&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?25882&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;lwip-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26468456&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwip-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/lwip-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/lwip-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/lwip-devel-f7921.html&quot; embed=&quot;fixTarget[7921]&quot; target=&quot;_top&quot; &gt;lwip-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--25882--TCP-hangs-on-MSS-%3E-pcb-%3Esnd_wnd-tp22534323p26468456.html" />
</entry>

</feed>
