[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170423204943.3ce98a63@laptop>
Date: Sun, 23 Apr 2017 20:49:43 -0700
From: Jakub Kicinski <kubakici@...pl>
To: Pan Bian <bianpan2016@....com>
Cc: Kalle Valo <kvalo@...eaurora.org>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH 1/1] mt7601u: check return value of alloc_skb
On Sun, 23 Apr 2017 15:00:23 +0800, Pan Bian wrote:
> Function alloc_skb() will return a NULL pointer if there is no enough
> memory. However, in function mt7601u_mcu_msg_alloc(), its return value
> is not validated before it is used. This patch fixes it.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Acked-by: Jakub Kicinski <kubakici@...pl>
Thanks!
Powered by blists - more mailing lists