[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1493399442.3041.159.camel@redhat.com>
Date: Fri, 28 Apr 2017 13:10:42 -0400
From: Doug Ledford <dledford@...hat.com>
To: Pan Bian <bianpan2016@....com>, Steve Wise <swise@...lsio.com>,
Sean Hefty <sean.hefty@...el.com>,
Hal Rosenstock <hal.rosenstock@...il.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] iw_cxgb4: check return value of alloc_skb
On Sun, 2017-04-23 at 17:09 +0800, Pan Bian wrote:
> Function alloc_skb() will return a NULL pointer when there is no
> enough
> memory. However, the return value of alloc_skb() is directly used
> without validation in function send_fw_pass_open_req(). This patches
> checks the return value of alloc_skb() against NULL.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Thanks, applied.
--
Doug Ledford <dledford@...hat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Powered by blists - more mailing lists