[dhcp] Check for matching chaddr in received DHCP packets
authorMichael Brown <mcb30@ipxe.org>
Mon, 22 Sep 2014 14:29:13 +0000 (15:29 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 22 Sep 2014 14:29:13 +0000 (15:29 +0100)
commit08bcc0fe0169fa369dee2810d45e5c6b43a94b97
tree49ef0e0f9c695ae6f6c466f4809b0665d2fd6f74
parent5d9fbf34ee3f7a8b7b829de43115437400d1189f
[dhcp] Check for matching chaddr in received DHCP packets

On large networks a DHCP XID collision is possible.  Fix by explicitly
checking the chaddr in received DHCP packets.

Originally-fixed-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/udp/dhcp.c