[Devel] Re: [PATCH 5/8] Move some core sock setup into sk_prot_alloc

David Miller davem at davemloft.net
Thu Nov 1 00:36:46 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Wed, 31 Oct 2007 16:51:51 +0300

> The security_sk_alloc() and the module_get is a part of the
> object allocations - move it in the proper place.
> 
> Note, that since we do not reset the newly allocated sock
> in the sk_alloc() (memset() is removed with the previous
> patch) we can safely do this.
> 
> Also fix the error path in sk_prot_alloc() - release the security
> context if needed.
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied.




More information about the Devel mailing list