Re: [ovs-dev] [PATCH 1/2] datapath: Add version check for struct netdev_ops.

2011-10-18 Thread Jesse Gross
On Tue, Oct 18, 2011 at 8:51 AM, Ben Pfaff wrote: > On Mon, Oct 17, 2011 at 10:10:52PM -0700, Jesse Gross wrote: >> Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know >> whether struct netdev_ops is present.  As a result, we need to >> replace it with an explicit version check. >> >>

Re: [ovs-dev] [PATCH 1/2] datapath: Add version check for struct netdev_ops.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:10:52PM -0700, Jesse Gross wrote: > Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know > whether struct netdev_ops is present. As a result, we need to > replace it with an explicit version check. > > Signed-off-by: Jesse Gross Acked-by: Ben Pfaff __

[ovs-dev] [PATCH 1/2] datapath: Add version check for struct netdev_ops.

2011-10-17 Thread Jesse Gross
Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know whether struct netdev_ops is present. As a result, we need to replace it with an explicit version check. Signed-off-by: Jesse Gross --- datapath/vport-internal_dev.c |4 1 files changed, 4 insertions(+), 0 deletions(-) d