Bug 57019
Summary: | Initialising DNS via DHCP | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] eCos | Reporter: | Andrew Lunn <andrew.lunn> | ||||
Component: | Patches and contributions | Assignee: | ecc-bugs-int | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | ecc-bugs-int | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.5.2 | CC: | gthomas, hmt | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-12-06 13:31:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Andrew Lunn
2001-12-03 13:16:39 UTC
Created attachment 39407 [details]
Context diff patch.
Duh! Remove the line index = cyg_thread_new_data_index(); at the end of cyg_dns_res_init() in dns.h! I'll have a look at this unless Gary/Hugo want to? I have committed this change to the trunk; a few extra diddles were needed to make it work OK. Though not having a DNS server, I didn't test it *with* server, just going through the new initialization from DHCP. Specifically, I had to release the per-thread-data index when re-starting, and check for many NULL name pointers and return NULL *before* the assertion check for valid pointer, so that the init to NULL works OK. |