mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 06:20:02 +02:00
macb_pad_and_fcs() appends the FCS in place when the skb has tailroom.
A shared skb, as pktgen sends in clone_skb mode, grows by one FCS per
transmit. BQL then completes more bytes than were queued and
dql_completed() hits its BUG_ON.
On a Raspberry Pi CM5 (RP1 GEM) pktgen with clone_skb 1000 burst 32 at
60 bytes kills the box within seconds.
Copy shared skbs before appending the FCS. Clearing IFF_TX_SKB_SHARING
would also fix it but makes pktgen refuse clone_skb on macb.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| macb_main.c | ||
| macb_pci.c | ||
| macb_ptp.c | ||
| macb.h | ||
| Makefile | ||