userland - dhclient - Fix possible infinite loop from unhandled poll(2) return
authorSamuel J. Greear <sjg@thesjg.com>
Thu, 9 Sep 2010 01:19:09 +0000 (01:19 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Thu, 9 Sep 2010 01:19:09 +0000 (01:19 +0000)
commita05d48e6c7b12ad7abca8e3a3264413ac6f54003
treed3ff3f3683453f0725fb80928ffae44ab61557e6
parentdb2a08265dc67538d417f14ccdc9fdef6fb0d60b
userland - dhclient - Fix possible infinite loop from unhandled poll(2) return

* This -probably- doesn't happen, but exercise some defensive programming
  here. This will prevent dhclient from running away and eating 100% cpu in the
  event of an error on the socket. Plus, we let the user know something went
  wrong.
sbin/dhclient/dhclient.c