linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbevf
Emil Tantilov 465fc643c2 ixgbevf: fix spoofed packets with random MAC
If ixgbevf is loaded while the corresponding PF interface is down
and the driver assigns a random MAC address, that address can be
overwritten with the value of hw->mac.perm_addr, which would be 0 at
that point.

To avoid this case we init hw->mac.perm_addr to the randomly generated
address and do not set it unless we receive ACK from ixgbe.

Reported-by: John Greene <jogreene@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-11-23 11:08:51 -08:00
..
defines.h ixgbevf: Set Rx hash type for ingress packets 2015-07-17 19:59:07 -07:00
ethtool.c ixgbevf: Limit lowest interrupt rate for adaptive interrupt moderation to 12K 2015-11-23 11:08:50 -08:00
ixgbevf_main.c ixgbevf: fix spoofed packets with random MAC 2015-11-23 11:08:51 -08:00
ixgbevf.h ixgbevf: Limit lowest interrupt rate for adaptive interrupt moderation to 12K 2015-11-23 11:08:50 -08:00
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.c ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
mbx.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
regs.h ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
vf.c ixgbevf: fix spoofed packets with random MAC 2015-11-23 11:08:51 -08:00
vf.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00