Date: Mon, 23 Jun 2014 10:15:59 -0400 From: John Baldwin <jhb@freebsd.org> To: Alexander Kabaev <kan@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r267762 - head/sys/dev/sound/pcm Message-ID: <201406231015.59401.jhb@freebsd.org> In-Reply-To: <201406230345.s5N3jeiU063253@svn.freebsd.org> References: <201406230345.s5N3jeiU063253@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, June 22, 2014 11:45:40 pm Alexander Kabaev wrote: > Author: kan > Date: Mon Jun 23 03:45:39 2014 > New Revision: 267762 > URL: http://svnweb.freebsd.org/changeset/base/267762 > > Log: > Restore the check for non-NULL dmatag in sndbuf_free. > > The sound drivers that use own buffer management can use sndbuf_setup > and not do any busdma allocation, so the driver will end up with the > managed buffer but no valid dma map and tag for it. Avoid calling > bus_dmamem_free in such cases. > > Reported by: ache > Missed in review by: kan Thanks for fixing this. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406231015.59401.jhb>