Re: [PATCH net,v2] net: mana: Fix Rx DMA datasize and skb_over_panic

2024-04-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Tue, 2 Apr 2024 12:48:36 -0700 you wrote: > mana_get_rxbuf_cfg() aligns the RX buffer's DMA datasize to be > multiple of 64. So a packet slightly bigger than mtu+14, say 1536, > can be received and cause skb_over_panic

[PATCH net,v2] net: mana: Fix Rx DMA datasize and skb_over_panic

2024-04-02 Thread Haiyang Zhang
mana_get_rxbuf_cfg() aligns the RX buffer's DMA datasize to be multiple of 64. So a packet slightly bigger than mtu+14, say 1536, can be received and cause skb_over_panic. Sample dmesg: [ 5325.237162] skbuff: skb_over_panic: text:c043277a len:1536 put:1536 head:ff1100018b517000 data:ff110