On Mon, 15 Nov 2021 09:59:56 -0800 Eric Dumazet wrote:
quoted
The IFF_TX_SKB_SHARING flag is pretty toothless as it stands.
skb_padto() needs to be replaced by something better.
so that skb can be cloned if needed.
static inline int skb_padto(struct sk_buff *skb, unsigned int len)
->
static inline struct sk_buff *skb_padto(struct sk_buff *skb, unsigned int len)
Indeed, that was my first instinct but I wasn't up for fixing up all
the drivers which call skb_pad(), skb_cow_head() etc.
Let me leave this be for now..