diff options
author | Adrian Cinal <[email protected]> | 2023-12-28 14:56:38 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-02 16:19:41 -0800 |
commit | e584f2ff1e6cc9b1d99e8a6b0f3415940d1b3eb3 (patch) | |
tree | 1aba8246abe6aa43b5cc41c0816c6457a1723527 /tools/perf/scripts/python/bin | |
parent | d5a13915ae2f4df738bf4254ec25e19f82e3ff49 (diff) |
net: bcmgenet: Fix FCS generation for fragmented skbuffs
The flag DMA_TX_APPEND_CRC was only written to the first DMA descriptor
in the TX path, where each descriptor corresponds to a single skbuff
fragment (or the skbuff head). This led to packets with no FCS appearing
on the wire if the kernel allocated the packet in fragments, which would
always happen when using PACKET_MMAP/TPACKET (cf. tpacket_fill_skb() in
net/af_packet.c).
Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")
Signed-off-by: Adrian Cinal <[email protected]>
Acked-by: Doug Berger <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions