2017-02-06 15:10, Stephen Hemminger:
> On Mon,  6 Feb 2017 14:16:53 +0100
> Olivier Matz <olivier.m...@6wind.com> wrote:
> 
> > +**Implication**:
> > +   In this situation, the shared data will be modified by the driver,
> > +   potentially causing race conditions with the other users of the mbuf
> > +   data.
> 
> This is a driver bug! The driver must check for refcount and not modify
> mbuf's whose refcnt > 1. For those mbuf's it should copy the mbuf and modify
> the copy. 
> 
> It is not good to force buggy refcnt handling back onto the application.
> It is acceptable to document the performance impact.

Everybody agree it is a bug.
Unfortunately, nobody has time to work on it in this release.
So it is better than nothing to document the bug.

Applied, thanks

Reply via email to