ixgbe: Bounds checking for set_rar, clear_rar, set_vmdq, clear_vmdq
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 17 Feb 2011 11:34:58 +0000 (11:34 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 11:11:39 +0000 (03:11 -0800)
This change makes it so that out of bounds requests to these calls will
now return IXGBE_ERR_INVALID_ARGUMENT instead of returning 0.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found