dcb: data center bridging ops should be r/o
[safe/jmp/linux-2.6] / include / linux / netdevice.h
index 94958c1..b332eef 100644 (file)
@@ -909,7 +909,7 @@ struct net_device
 
 #ifdef CONFIG_DCB
        /* Data Center Bridging netlink ops */
-       struct dcbnl_rtnl_ops *dcbnl_ops;
+       const struct dcbnl_rtnl_ops *dcbnl_ops;
 #endif
 
 #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)