Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

From: Herbert Xu
Date: Tue Jun 28 2016 - 05:44:13 EST


On Tue, Jun 28, 2016 at 09:54:23AM +0100, David Howells wrote:
>
> I'm using the per-skb state for my own purposes and might be looking at it
> elsewhere at the same time.

AFAICS this cannot happen for secure_packet/verify_packet. In both
cases we have exclusive ownership of the skb.

But it's your code so feel free to send your own patch.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt