[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 9 Sep 2011 07:35:42 -0700 (PDT)
From: Venkat Venkatsubra <venkat.x.venkatsubra@...cle.com>
To: Netdev <netdev@...r.kernel.org>,
Rds-Devel <rds-devel@....oracle.com>
Cc: Davem <davem@...emloft.net>
Subject: [PATCH] RDSRDMA: Fix to PAGE_MASK interpretation
On 08/29/2011 02:28 PM, Jonathan Lallinger wrote:
> The RDS_RDMA rds_iw_map_scatterlist function assumed PAGE_MASK was the bitwise
> compliment of what it actually is. This problem was introduced in commit
> 404bb72a56e553febe1055f98347a7a3e3145759 when the variable dma_mask was replaced
> by PAGE_MASK, however dma_mask represented the compliment of what PAGE_MASK
> represents.
>
> This fix corrects the logic by flipping the compliments on all uses of PAGE_MASK
> int rds_iw_map_scatterlist.
>
> Signed-off by: Jonathan Lallinger<jonathan@....us>
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@...cle.com>
Venkat
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists