]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbevf: make operations tables const
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 18 Jan 2012 22:13:34 +0000 (22:13 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:56:55 +0000 (23:56 +0800)
commit8af8e0471a4811cec822637573f0e1218fcc10a5
tree9bf07af715963ab9e4a2927c3e2970767ea01dc4
parentbc73042179f0b795ec32afa8fe3ae91733b6dbd1
ixgbevf: make operations tables const

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

(cherry picked from commit 3d8fe98f8d5cb303d907d8f94ea6dc1f9a1d8b7a)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbevf/ixgbevf.h
drivers/net/ixgbevf/ixgbevf_main.c
drivers/net/ixgbevf/vf.c
drivers/net/ixgbevf/vf.h