aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/tcp.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-08-13 11:03:33 -0700
committerMichael Brown <mcb30@etherboot.org>2007-08-13 11:03:33 -0700
commit2ff1b1245bf95a718ab6f7404cf504b06a37b30b (patch)
tree75dd35bd894296495871488ec9a48a5283469329 /src/net/tcp.c
parent0a3c2b80ea5171cc794131ce29b5cb8d209a4a49 (diff)
downloadipxe-2ff1b1245bf95a718ab6f7404cf504b06a37b30b.tar.gz
Use start_timer_nodelay() in protocols which rely on the retry timer
to generate the initial transmission; this cuts off around 0.3s per instantiated connection.
Diffstat (limited to 'src/net/tcp.c')
-rw-r--r--src/net/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 01daf75ab..28cf95fb3 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -232,7 +232,7 @@ static int tcp_open ( struct xfer_interface *xfer, struct sockaddr *peer,
goto err;
/* Start timer to initiate SYN */
- start_timer ( &tcp->timer );
+ start_timer_nodelay ( &tcp->timer );
/* Attach parent interface, transfer reference to connection
* list and return