Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2016 10:18:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206699] [Hyper-V]FreeBSD potential NULL pointer dereference in storage bounce buffer
Message-ID:  <bug-206699-8-IrPktjacUq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206699-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206699-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206699

--- Comment #1 from Roger Pau Monné <royger@freebsd.org> ---
I've already told Wei that creating your own bounce buffer is a bad idea.
Instead you should use the BUSDMA API and let it take care of the bouncing when
necessary:

https://reviews.freebsd.org/D1964

IIRC something was missing in BUSDMA so that the HyperV storage driver could
use it, we should look into adding what's needed and then removing this custom
bounce buffering.

Please upload the patch to the review system.

Roger.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206699-8-IrPktjacUq>