[ovs-dev] [patch v2 2/7] datapath: Handle duplicate netdev in netdev_rx_handler_register()
Simon Horman
horms at verge.net.au
Sun Aug 22 20:46:42 PDT 2010
On Fri, Aug 20, 2010 at 03:42:55PM -0400, Jesse Gross wrote:
> On Wed, Aug 18, 2010 at 11:36 PM, Simon Horman <horms at verge.net.au> wrote:
> > --- openvswitch.orig/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h 2010-08-18 13:43:10.000000000 +0900
> > +++ openvswitch/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h 2010-08-18 13:43:37.000000000 +0900
> > @@ -94,6 +94,8 @@ static inline int netdev_rx_handler_regi
> > rx_handler_func_t *rx_handler,
> > void *rx_handler_data)
> > {
> > + if (netdev_vport->dev->br_port)
> > + return -EBUSY;
>
> This should just be dev->br_port here.
Ooops, thanks.
More information about the dev
mailing list