[IPoIB] IPoIB PXE boot support: Clear remainder of chaddr
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 17 Aug 2009 23:17:41 +0000 (23:17 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 17 Aug 2009 23:17:41 +0000 (23:17 +0000)
commitfdaefbae7e11985bf4ef9be1f0737034ea4e1e2a
tree6abd1079cdb8f59ed5701127ff59f6548ffd8de1
parentb217ef22efa7e77e4a2a23f8f02e9e4db38938e1
[IPoIB] IPoIB PXE boot support: Clear remainder of chaddr

    The IPoIB PXE boot firmware (gPXE) now sends the 8-byte port GUID in
    the DHCP chaddr field.  WinOF replaces the first 6 bytes of chaddr
    with the Ethernet-style MAC address, but leaves the remainder
    untouched.  This results in trailing garbage after the Ethernet-style
    MAC in the modified chaddr.

    Fix by explicitly zeroing the remainder of chaddr.

Signed-off-by: Michael Brown <mcb30@etherboot.org>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2364 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
ulp/ipoib/kernel/ipoib_port.c