aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2023-09-29 13:42:27 -0700
committerPaolo Abeni <[email protected]>2023-10-05 11:45:06 +0200
commita43e8e9ffa0d1de058964edf1a0622cbb7e27cfe (patch)
treea122076af85b024b209c10110afce9dcc9e1dde7 /lib/test_fortify/write_overflow-strncpy-src.c
parent7a54de92657455210d0ca71d4176b553952c871a (diff)
net: mana: Fix oversized sge0 for GSO packets
Handle the case when GSO SKB linear length is too large. MANA NIC requires GSO packets to put only the header part to SGE0, otherwise the TX queue may stop at the HW level. So, use 2 SGEs for the skb linear part which contains more than the packet header. Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)") Signed-off-by: Haiyang Zhang <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Shradha Gupta <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions