summaryrefslogtreecommitdiff
path: root/kernel/bpf/btf.c
diff options
context:
space:
mode:
authorJeroen de Borst <jeroendb@google.com>2019-11-26 15:36:19 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-26 15:52:34 -0800
commita95069ecb7092d03b2ea1c39ee04514fe9627540 (patch)
tree8af5f4a1bced8d7be348dc9c70ddd127ce3a67c1 /kernel/bpf/btf.c
parent66e2f5f7c7728862e9394769722231b9ce3d8672 (diff)
gve: Fix the queue page list allocated pages count
In gve_alloc_queue_page_list(), when a page allocation fails, qpl->num_entries will be wrong. In this case priv->num_registered_pages can underflow in gve_free_queue_page_list(), causing subsequent calls to gve_alloc_queue_page_list() to fail. Fixes: f5cedc84a30d ("gve: Add transmit and receive support") Signed-off-by: Jeroen de Borst <jeroendb@google.com> Reviewed-by: Catherine Sullivan <csully@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/btf.c')
0 files changed, 0 insertions, 0 deletions