[syslinux] [PATCH 0/1] efi: DNS resolver

H. Peter Anvin hpa at zytor.com
Tue Sep 29 13:29:38 PDT 2015


On 09/28/2015 03:50 AM, Gene Cumm via Syslinux wrote:
> 
> As you noted, you don't accommodate timeouts which is probably the
> most critical operation this doesn't have.  We can't stay in the query
> forever.  jiffies() and ms_timer() are the two available in the core.
> core/legacynet/dnsresolv.c used jiffies() but ms_timer() should be
> dealing with millisecond values, not 55ms jiffies and about CLK_TCK
> jiffies per second.
> 
> An alternative way to just stub it is to merge everything but the
> actual call that starts sending UDP packets or just the most basic
> functionality you've implemented first.
> 

Yes, please; do share the code rather than having two copies.

	-hpa



More information about the Syslinux mailing list