diff options
| author | Colin Ian King <[email protected]> | 2019-07-03 16:50:37 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-07-03 20:53:07 +0000 |
| commit | a51df9f8da43e8bf9e508143630849b7d696e053 (patch) | |
| tree | eff4e9de9ad6cdf31c4162c70a09741561d069e4 /tools/lib/bpf/str_error.c | |
| parent | Merge branch 'net-ICW-sendmsg-recvmsg' (diff) | |
| download | kernel-a51df9f8da43e8bf9e508143630849b7d696e053.tar.gz kernel-a51df9f8da43e8bf9e508143630849b7d696e053.zip | |
gve: fix -ENOMEM null check on a page allocation
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions
