[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH net-next v2] xen-netback: implement dynamic multicast control



On Tue, 2016-02-02 at 11:48 +0000, Paul Durrant wrote:
> > -----Original Message-----
> > From: Wei Liu [mailto:wei.liu2@xxxxxxxxxx]
> > Sent: 02 February 2016 11:47
> > To: Paul Durrant
> > Cc: netdev@xxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxxx; Ian
> > Campbell;
> > Wei Liu
> > Subject: Re: [PATCH net-next v2] xen-netback: implement dynamic
> > multicast
> > control
> > 
> > On Tue, Feb 02, 2016 at 11:31:08AM +0000, Paul Durrant wrote:
> > [...]
> > > +static int xen_register_mcast_ctrl_watch(struct xenbus_device *dev,
> > > +                                 Âstruct xenvif *vif)
> > > +{
> > > + int err = 0;
> > > + char *node;
> > > + unsigned maxlen = strlen(dev->otherend) +
> > > +         sizeof("/request-multicast-control");
> > > +
> > > + if (vif->mcast_ctrl_watch.node)
> > > +         return -EADDRINUSE;
> > > +
> > 
> > Sorry if I didn't make myself clear enough. I think EADDRINUSE should
> > also be logged.
> > 
> 
> Ok. Not sure how much noise that will cause though.

If this is a guest trigerable path then don't forget to use the
ratelimiting printk options....

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.