diff options
author | David Ertman <davidx.m.ertman@intel.com> | 2013-09-05 04:24:25 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-09-13 10:19:56 -0700 |
commit | c3a0dce35af02846bdaa1df437493e2fd547ec2f (patch) | |
tree | b4d4ebcb8ad67e4b002318eb2cbb109fbffc69a8 /kernel/audit.h | |
parent | 138953bb6a27fccc59eecd303578260c8c7409d2 (diff) |
e1000e: fix overrun of PHY RAR array
When copying the MAC RAR registers to PHY there is an error in the
calculation of the rar_entry_count, which causes a write of unknown/
undefined register space in the MAC to unknown/undefined register space in
the PHY.
This patch fixes the overrun with writing to the PHY RAR and also fixes the
ethtool offline register tests so that the correctly addressed registers
have the appropriate bitmasks for R/W and RO bits for affected parts.
Shawn Rader gets credit for finding and fixing the register overrun.
Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
CC: Shawn Rader <shawn.t.rader@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions