diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-10-05 10:35:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-07 01:59:24 +0400 |
commit | 2553bb2681645bf932db2845121b8f33954f6f39 (patch) | |
tree | 3aa34b3b94bb1fab528870a7dc72caa182e3587f /drivers/net/igb/e1000_mac.c | |
parent | ab576389b733b458495529f81839f499b3fece78 (diff) | |
download | linux-2553bb2681645bf932db2845121b8f33954f6f39.tar.xz |
igb: add additional error handling to the phy code
This update adds additional exception handling to the phy code to handle
situations where it may be called incorrectly. In addition it adds some
bounds checking to the cable length checks to prevent an array overrun in
the event that the hardware returned a different value than expected.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_mac.c')
0 files changed, 0 insertions, 0 deletions