Skip to content
Commit 3ce93455 authored by Shailend Chand's avatar Shailend Chand Committed by Jakub Kicinski
Browse files

gve: Secure enough bytes in the first TX desc for all TCP pkts

Non-GSO TCP packets whose SKBs' linear portion did not include the
entire TCP header were not populating the first Tx descriptor with
as many bytes as the vNIC expected. This change ensures that all
TCP packets populate the first descriptor with the correct number of
bytes.

Fixes: 893ce44d

 ("gve: Add basic driver framework for Compute Engine Virtual NIC")
Signed-off-by: default avatarShailend Chand <shailend@google.com>
Link: https://lore.kernel.org/r/20230403172809.2939306-1-shailend@google.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a1865f2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment