[ovs-dev] [PATCH] datapath-windows: Fix compilation for kernel module.

Saurabh Shah ssaurabh at vmware.com
Wed Jul 30 19:32:09 UTC 2014



> -----Original Message-----
> From: Jesse Gross [mailto:jesse at nicira.com]
> Sent: Wednesday, July 30, 2014 12:28 PM
> To: Saurabh Shah
> Cc: dev at openvswitch.org
> Subject: Re: [ovs-dev] [PATCH] datapath-windows: Fix compilation for kernel
> module.
> 
> On Wed, Jul 30, 2014 at 4:58 AM, Saurabh Shah <ssaurabh at vmware.com>
> wrote:
> > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h
> > index 271a14e..9f94138 100644
> > --- a/include/linux/openvswitch.h
> > +++ b/include/linux/openvswitch.h
> > @@ -40,8 +40,10 @@
> >  #ifndef _LINUX_OPENVSWITCH_H
> >  #define _LINUX_OPENVSWITCH_H 1
> >
> > +#ifndef OVS_WIN_DP
> >  #include <linux/types.h>
> >  #include <linux/if_ether.h>
> > +#endif
> 
> This is a Linux kernel header file that we're trying to keep in sync, so it really
> shouldn't have any WIndows-specific things in it.

The structures are used on windows too now. I could move this file to some common header file location.


More information about the dev mailing list