datapath: Constify ops structures.
authorJesse Gross <jesse@nicira.com>
Wed, 24 Nov 2010 06:08:27 +0000 (22:08 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 3 Dec 2010 01:10:16 +0000 (17:10 -0800)
commitb279fccf5bd8c5addfb8e73b04103405b6a8237e
tree66c716276007e4a8a456c46f5a0784f74da4118e
parentf981c8b0da9c8efec309064367e36338518eba15
datapath: Constify ops structures.

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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/vport-capwap.c
datapath/vport-gre.c
datapath/vport-internal_dev.c
datapath/vport-netdev.c
datapath/vport-patch.c
datapath/vport.c
datapath/vport.h