lkml.org 
[lkml]   [2019]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][next] gve: fix -ENOMEM null check on a page allocation
From
From: Colin King <colin.king@canonical.com>
Date: Wed, 3 Jul 2019 17:50:37 +0100

> From: Colin Ian King <colin.king@canonical.com>
>
> Currently the check to see if a page is allocated is incorrect
> and is checking if the pointer page is null, not *page as
> intended. Fix this.
>
> Addresses-Coverity: ("Dereference before null check")
> Fixes: f5cedc84a30d ("gve: Add transmit and receive support")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

\
 
 \ /
  Last update: 2019-07-03 22:54    [W:0.025 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site