summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMd Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>2018-04-16 10:07:03 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-04-24 12:27:49 -0700
commitd6fef10c750e64f248543d2eee7c86a4a019f7ec (patch)
treeafc05242bbd227d34078b7a49ef33c1bab38b13d /include
parent30d84397affb0fcb11beaf049caabfcb1dac65a6 (diff)
downloadlinux-d6fef10c750e64f248543d2eee7c86a4a019f7ec.tar.bz2
ice: Fix insufficient memory issue in ice_aq_manage_mac_read
For the MAC read operation, the device can return up to two (LAN and WoL) MAC addresses. Without access to adequate memory, the device will return an error. Fixed this by allocating the right amount of memory. Also, logic to detect and copy the LAN MAC address into the port_info structure has been added. Note that the WoL MAC address is ignored currently as the WoL feature isn't supported yet. Fixes: dc49c7723676 ("ice: Get MAC/PHY/link info and scheduler topology") Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions