pxeboot - Workaround BIOS breakage
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 23 Jan 2015 08:30:38 +0000 (00:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 23 Jan 2015 08:44:55 +0000 (00:44 -0800)
commit8435c98f1382e663b5322a40742275887cba7e59
tree600b57b76520b210a70c52c6f476fad504f4f98a
parentbee2633be9c5229802100649904b84013dcd6554
pxeboot - Workaround BIOS breakage

* Some BIOSes (the one in my Gigabyte H97N-WIFI) continue to use the original
  negotiated by the TFTP preloader even after we have negotiated a new IP
  and used it in the udpopen.  This will cause our dest_ip filter in
  udpread() to implode.  Detect and handle this case.

* Why does dhcpd hand out different IPs?  I tracked one down to the PXE
  BIOS sending a Client-ID option.  However, our PXEBOOT DHCP and our
  dhclient don't seem to send that option and also get different IPs.

* This won't fix post-boot breakage if dhclient rips the IP out from under
  the NFS root mount in a pxebooted situation.
sys/boot/pc32/libi386/pxe.c