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

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

flat view

From: Ben Hutchings <hidden>
Date: 2011-04-14 16:37:22

On Thu, 2011-04-14 at 08:50 -0700, Stephen Hemminger wrote:
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.
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>

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help