Re: [PATCH net-next v2] net: Move skb decrypted field, avoid explicity copy

2018-07-18 Thread David Miller
From: Stefano Brivio Date: Tue, 17 Jul 2018 11:52:57 +0200 > Commit 784abe24c903 ("net: Add decrypted field to skb") > introduced a 'decrypted' field that is explicitly copied on skb > copy and clone. > > Move it between headers_start[0] and headers_end[0], so that we > don't need to copy it

[PATCH net-next v2] net: Move skb decrypted field, avoid explicity copy

2018-07-17 Thread Stefano Brivio
Commit 784abe24c903 ("net: Add decrypted field to skb") introduced a 'decrypted' field that is explicitly copied on skb copy and clone. Move it between headers_start[0] and headers_end[0], so that we don't need to copy it explicitly as it's copied by the memcpy() in __copy_skb_header(). While at