lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] redundant code in tcp_fasttmr()


From: Oleg Tychev
Subject: [lwip-devel] redundant code in tcp_fasttmr()
Date: Wed, 01 Apr 2009 15:37:36 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Lightning/1.0pre Thunderbird/3.0b2

I think code
pcb->flags &= ~(TF_ACK_DELAY | TF_ACK_NOW);
in tcp_fasttmr() is redundant and can be deleted..

tcp_ack_now() calls tcp_output(),
and in tcp_output() TF_ACK_DELAY | TF_ACK_NOW flags are cleared.

Oleg Tyshev


--
HIMA Paul Hildebrandt GmbH + Co KG, Postfach 12 61, 68777 Bruehl bei Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht Mannheim HRA 
421017
Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt Verwaltungsgesellschaft 
mbH,
Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588

Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp, Dipl.-Kfm. Peter 
Swiczinsky





reply via email to

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