commit | 0d9a5997842756f859032ae3efcaf79715a51883 | [log] [tgz] |
---|---|---|
author | Felix Manlunas <felix.manlunas@cavium.com> | Tue May 16 11:28:00 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 17 14:48:29 2017 -0400 |
tree | bdca6bc0175f2ff5d56b526ba7925051092ac5eb | |
parent | e1e3ce623699d0cd594fa69f69371a9dbc55aa9a [diff] |
liquidio: fix PF falsely indicating success at setting MAC address of a nonexistent VF In the function assigned to .ndo_set_vf_mac, check the validity of the vfidx argument before proceeding to tell the firmware to set the VF MAC address. Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: Derek Chickles <derek.chickles@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>