diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-08-13 11:03:33 -0700 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-08-13 11:03:33 -0700 |
commit | 2ff1b1245bf95a718ab6f7404cf504b06a37b30b (patch) | |
tree | 75dd35bd894296495871488ec9a48a5283469329 /src/net/udp/tftp.c | |
parent | 0a3c2b80ea5171cc794131ce29b5cb8d209a4a49 (diff) | |
download | ipxe-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/udp/tftp.c')
-rw-r--r-- | src/net/udp/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index ea4d1df30..7f1c4ce64 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -657,7 +657,7 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) { goto err; /* Start timer to initiate RRQ */ - start_timer ( &tftp->timer ); + start_timer_nodelay ( &tftp->timer ); /* Attach to parent interface, mortalise self, and return */ xfer_plug_plug ( &tftp->xfer, xfer ); |