gPXE currently overwrites the filename stored in the cached DHCP packets when a call to PXENV_TFTP_READ_FILE or PXENV_RESTART_TFTP is made. This code has existed for many years as a workaround for RIS, which seemed to require that this be done. pxe_set_cached_filename() causes problems with the Bootix NBP, and a recent test demonstrates that RIS will complete successfully even with pxe_set_cached_filename() removed. There have been many changes to the DHCP and PXE logic since this code was first added, and it is quite plausible that it was masking a bug that no longer exists. Reported-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com> Debugged-by: Shao Miller <Shao.Miller@yrdsb.edu.on.ca> Signed-off-by: Michael Brown <mcb30@etherboot.org>tags/v1.20.1
|
|
||
149 |
|
149 |
|
150 |
|
150 |
|
151 |
|
151 |
|
152 |
|
|
|
153 |
|
|
|
154 |
|
152 |
|
|
|
||
102 |
|
102 |
|
103 |
|
103 |
|
104 |
|
104 |
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
105 |
|
124 |
|
106 |
|
125 |
|
107 |
|
|
|
||
236 |
|
218 |
|
237 |
|
219 |
|
238 |
|
220 |
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
221 |
|
243 |
|
222 |
|
244 |
|
223 |
|
|
|
||
171 |
|
171 |
|
172 |
|
172 |
|
173 |
|
173 |
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
174 |
|
178 |
|
175 |
|
179 |
|
176 |
|
|
|
||
470 |
|
467 |
|
471 |
|
468 |
|
472 |
|
469 |
|
473 |
|
|
|
474 |
|
|
|
475 |
|
|
|
476 |
|
|
|
477 |
|
|
|
478 |
|
|
|
479 |
|
|
|
480 |
|
|
|
481 |
|
|
|
482 |
|
|
|
483 |
|
|
|
484 |
|
470 |
|
485 |
|
471 |
|
486 |
|
472 |
|