]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ixgbevf: fix error code path when setting MAC address
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 10 Feb 2016 23:16:30 +0000 (15:16 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Mar 2016 05:53:42 +0000 (22:53 -0700)
commit32ca68683532ab629d16cede1102b36ae5346f40
tree99f39567607b497f18681a1874203a6a048e7c33
parent324d086709978fce1671ba04087bf90865b04398
ixgbevf: fix error code path when setting MAC address

Return error when a MAC address change is rejected by the PF.

This will prevent the user from modifying the MAC address when
that operation is not permitted.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c