[Intel-wired-lan] [PATCH 2/2] ixgbevf: fix spoofed packets with random MAC

Singh, Krishneil K krishneil.k.singh at intel.com
Fri Oct 16 18:05:22 UTC 2015



-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Emil Tantilov
Sent: Monday, October 12, 2015 10:56 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH 2/2] 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 at redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
---
Tested-By: Krishneil Singh <Krishneil.k.singh at intel.com>




More information about the Intel-wired-lan mailing list