aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2010-06-13 03:31:06 +0000
committerDavid S. Miller <[email protected]>2010-06-16 21:55:56 +0000
commitb47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6 (patch)
treef9c1e24e6e3da8ae1de1bd50be3e7ef0d81269ae /net/unix/af_unix.c
parentaf_unix: Allow SO_PEERCRED to work across namespaces. (diff)
downloadkernel-b47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6.tar.gz
kernel-b47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6.zip
af_netlink: Add needed scm_destroy after scm_send.
scm_send occasionally allocates state in the scm_cookie, so I have modified netlink_sendmsg to guarantee that when scm_send succeeds scm_destory will be called to free that state. Signed-off-by: Eric W. Biederman <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Acked-by: Pavel Emelyanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions