diff options
| author | 2015-10-12 10:56:00 -0700 | |
|---|---|---|
| committer | 2015-11-23 11:08:51 -0800 | |
| commit | 465fc643c2dcbe08e0debac80c225f6750b40d3c (patch) | |
| tree | bdc2676304a7b6eb9701d8a9d823b8cb177df154 /include/linux | |
| parent | ixgbevf: use ether_addr_copy instead of memcpy (diff) | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
