Re: [PATCH 0/3] net: dsa: move skb reallocation to dsa_slave_xmit

2020-10-16 Thread Florian Fainelli
On 10/16/2020 1:02 PM, Christian Eggers wrote: [snip] On Friday, 16 October 2020, 20:03:11 CEST, Jakub Kicinski wrote: FWIW if you want to avoid the reallocs you may want to set needed_tailroom on the netdev. I haven't looked for this yet. If this can really solve the tagging AND padding p

[PATCH 0/3] net: dsa: move skb reallocation to dsa_slave_xmit

2020-10-16 Thread Christian Eggers
This series moves the reallocation of a skb which may be required due to tail tagging or padding, from the tag_trailer and tag_ksz drivers to dsa_slave_xmit. Additionally it prevents a skb_panic in a very special corner case described here: https://patchwork.ozlabs.org/project/netdev/patch/20201014