mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
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.
This commit is contained in:
@@ -912,7 +912,7 @@ int start_dhcp ( struct job_interface *job, struct net_device *netdev,
|
||||
goto err;
|
||||
|
||||
/* Start timer to initiate initial DHCPREQUEST */
|
||||
start_timer ( &dhcp->timer );
|
||||
start_timer_nodelay ( &dhcp->timer );
|
||||
|
||||
/* Attach parent interface, mortalise self, and return */
|
||||
job_plug_plug ( &dhcp->job, job );
|
||||
|
||||
Reference in New Issue
Block a user