diff options
author | 2022-11-04 14:17:36 +0800 | |
---|---|---|
committer | 2022-11-07 11:32:28 +0000 | |
commit | 64c426dfbbd2710e4bcac42aaced21fe10f05fde (patch) | |
tree | 2b6cd3b412dfd6d474f3a11107f1f4df4fae38be /drivers/net/phy/phy.c | |
parent | net: fec: simplify the code logic of quirks (diff) | |
download | wireguard-linux-64c426dfbbd2710e4bcac42aaced21fe10f05fde.tar.xz wireguard-linux-64c426dfbbd2710e4bcac42aaced21fe10f05fde.zip |
gve: Fix error return code in gve_prefill_rx_pages()
If alloc_page() fails in gve_prefill_rx_pages(), it should return
an error code in the error path.
Fixes: 82fd151d38d9 ("gve: Reduce alloc and copy costs in the GQ rx path")
Cc: Jeroen de Borst <jeroendb@google.com>
Cc: Catherine Sullivan <csully@google.com>
Cc: Shailend Chand <shailend@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions