Re: [PATCH net 0/3] Fix a bug and avoid dangerous usage patterns

2019-05-12 Thread David Miller
From: Vladimir Oltean Date: Sat, 11 May 2019 23:14:44 +0300 > Making DSA use the sk_buff control block was my idea during the > 'Traffic-support-for-SJA1105-DSA-driver' patchset, and I had also > introduced a series of macro helpers that turned out to not be so > helpful: > > 1. DSA_SKB_ZERO() z

Re: [PATCH net 0/3] Fix a bug and avoid dangerous usage patterns

2019-05-11 Thread Vladimir Oltean
On Sat, 11 May 2019 at 23:16, Vladimir Oltean wrote: > > Making DSA use the sk_buff control block was my idea during the > 'Traffic-support-for-SJA1105-DSA-driver' patchset, and I had also > introduced a series of macro helpers that turned out to not be so > helpful: > > 1. DSA_SKB_ZERO() zeroizes

[PATCH net 0/3] Fix a bug and avoid dangerous usage patterns

2019-05-11 Thread Vladimir Oltean
Making DSA use the sk_buff control block was my idea during the 'Traffic-support-for-SJA1105-DSA-driver' patchset, and I had also introduced a series of macro helpers that turned out to not be so helpful: 1. DSA_SKB_ZERO() zeroizes the 48-byte skb->cb area, but due to the high performance impac