Is this a race in mbuf's refcounting?

Andrew Brampton brampton+freebsd-net at gmail.com
Mon Sep 21 15:28:27 UTC 2009


2009/9/21 Ed Maste <emaste at freebsd.org>:
> On Mon, Sep 21, 2009 at 01:43:33PM +0100, Andrew Brampton wrote:
>
> Your analysis is correct; this issue also has a PR, kern/137145.
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/137145
>
> As you point out it requires that two threads have a reference to the
> same non-shared mbuf.  I had a quick look and didn't find any case of
> this in the vanilla FreeBSD tree; if I didn't miss anything it'll
> affect only 3rd party src.
>
> We'll need to have a look at this after 8.0 is done.
>
> -Ed
>

I didn't notice there was a PR for this.

Thanks
Andrew


More information about the freebsd-net mailing list