aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorFelix Manlunas <felix.manlunas@cavium.com>2017-05-16 11:28:00 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-17 14:48:29 -0400
commit0d9a5997842756f859032ae3efcaf79715a51883 (patch)
treebdca6bc0175f2ff5d56b526ba7925051092ac5eb /net/dsa/dsa.c
parentliquidio: fix insmod failure when multiple NICs are plugged in (diff)
downloadlinux-dev-0d9a5997842756f859032ae3efcaf79715a51883.tar.xz
linux-dev-0d9a5997842756f859032ae3efcaf79715a51883.zip
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>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions