[ovs-dev] [PATCH 09/14] datapath: Provide compatibility code for SET_ETHTOOL_OPS constness.

Ben Pfaff blp at nicira.com
Thu Dec 2 23:52:45 UTC 2010


On Thu, Dec 02, 2010 at 12:36:58PM -0800, Jesse Gross wrote:
> On 2.6.18 dev->ethtool_ops was not marked as const.  This adds a
> compatibility macro that casts away the constness so we can mark
> our ethtool ops as const on later kernels.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

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




More information about the dev mailing list