There was logic in the send path that assumed that a page containing data
to send to the client has a KVA. This is not always the case and can result
in data corruption when page_address returns zero and we end up DMA mapping
zero.
This patch changes the bus mapping logic to avoid page_address() w
Tom Tucker wrote:
> This patch changes the bus mapping logic to avoid page_address() where
> necessary
Hi Tom,
Does "when necessary" comes to say that invocations of page_address
which remained in the code after this patch was applied are safe and
no kmap call is needed?
Or.
--
To unsubscrib
On 11/16/10 1:39 PM, Or Gerlitz wrote:
Tom Tucker wrote:
This patch changes the bus mapping logic to avoid page_address() where necessary
Hi Tom,
Does "when necessary" comes to say that invocations of page_address
which remained in the code after this patch was applied are safe and
no kmap