[ovs-dev] [PATCH 10/14] datapath: Constify ops structures.

Ben Pfaff blp at nicira.com
Thu Dec 2 23:54:05 UTC 2010


On Thu, Dec 02, 2010 at 12:36:59PM -0800, Jesse Gross wrote:
> vport_ops, tunnel_ops, and ethtool_ops should not change at runtime.
> Therefore, mark them as const to keep them out of the hotpath and to
> prevent them from getting trampled.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list