Thread (3 messages) 3 messages, 3 authors, 2011-04-15

Re: [PATCH net-next] sfc: make function tables const

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-04-15 04:55:59

From: Ben Hutchings <redacted>
Date: Thu, 14 Apr 2011 17:37:18 +0100
On Thu, 2011-04-14 at 08:50 -0700, Stephen Hemminger wrote:
quoted
The phy, mac, and board information structures should be const.
efx_nic_type actually holds information and function pointers about
different generations of the controller, not different boards.
quoted
Since tables contain function pointer this improves security
(at least theoretically).

Compile tested only.

Signed-off-by: Stephen Hemminger <redacted>
Acked-by: Ben Hutchings <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help