Re: [PATCH rdma-next 01/10] RDMA: Restore ability to fail on PD deallocate

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

 



On Thu, Aug 27, 2020 at 02:06:03AM +0000, Saleem, Shiraz wrote:

> Which then boils down do we just keep a simpler definition of the
> API contract -- driver can just return whatever the true error code
> is?  

No, that was always wrong. In almost every case returning codes from
destroy is a driver bug, flat out. It causes kernel leaking
memory/worse and unrecoverable userspace failures.

Jason



[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