Home
last modified time | relevance | path

Searched hist:f08daa806ba78a1458dd7589a4857213cab426d9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.cdiff f08daa806ba78a1458dd7589a4857213cab426d9 Wed Jan 24 10:10:25 CST 2024 Praveen Kaligineedi <pkaligineedi@google.com> gve: Fix skb truesize underestimation

[ Upstream commit 534326711000c318fe1523c77308450522baa499 ]

For a skb frag with a newly allocated copy page, the true size is
incorrectly set to packet buffer size. It should be set to PAGE_SIZE
instead.

Fixes: 82fd151d38d9 ("gve: Reduce alloc and copy costs in the GQ rx path")
Signed-off-by: Praveen Kaligineedi <pkaligineedi@google.com>
Link: https://lore.kernel.org/r/20240124161025.1819836-1-pkaligineedi@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>