ixgbevf: make operations tables const
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 18 Jan 2012 22:13:34 +0000 (22:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jan 2012 17:35:07 +0000 (12:35 -0500)
commit3d8fe98f8d5cb303d907d8f94ea6dc1f9a1d8b7a
tree12152a144b19938b17e112a2dc7d6f1ffb9d158c
parentb5417bf8e8952401bca69ded67c30ead484af823
ixgbevf: make operations tables const

The arrays of function pointers should be const to make life harder
for rootkits.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c
drivers/net/ethernet/intel/ixgbevf/vf.h