summaryrefslogtreecommitdiff
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-11-01 07:36:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2007-11-01 07:36:26 (GMT)
commit2e4afe7b35458beedba418a6e2aaf0b0ac82cc18 (patch)
treeac98a85329391a6a541d307659b1b46ae23e495a /kernel/posix-cpu-timers.c
parent3f0666ee3039443fa7b7cf436dd16ce0dd8e3f95 (diff)
downloadlinux-fsl-qoriq-2e4afe7b35458beedba418a6e2aaf0b0ac82cc18.tar.xz
[NET]: Move some core sock setup into sk_prot_alloc
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@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions