[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190114210454.GA13422@ziepe.ca>
Date: Mon, 14 Jan 2019 14:04:54 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....edu, Doug Ledford <dledford@...hat.com>,
Leon Romanovsky <leon@...nel.org>,
Parav Pandit <parav@...lanox.com>,
Daniel Jurgens <danielj@...lanox.com>,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [V2] infiniband: fix a missing check of nla_put
On Sat, Jan 05, 2019 at 10:18:07AM -0600, Aditya Pakki wrote:
> nla_put() may fail. The fix adds a check for its return value, and
> returns -EMSGSIZE if it fails, post canceling netlink msg.
>
> Signed-off-by: Aditya Pakki <pakki001@....edu>
> ---
> drivers/infiniband/core/addr.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Leon?
Jason
Powered by blists - more mailing lists