Re: [PATCH v2 for-next 3/4] RDMA/hns: Fix the bug while use multi-hop of pbl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2018/11/24 4:27, Jason Gunthorpe 写道:
> On Fri, Nov 23, 2018 at 04:26:37PM +0800, Lijun Ou wrote:
>> It will access the border when defines the pbl for int and.
>> This patch fix it.
> I have no idea what this menas. I think it is trying to say pbl_size
> has to be a u64 to prevent multiply overflow?
>
> Jason
Yes. When pbl size is large, the u32 will lead to overflow.
>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux