diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-06-13 03:31:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-16 14:55:56 -0700 |
commit | b47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6 (patch) | |
tree | f9c1e24e6e3da8ae1de1bd50be3e7ef0d81269ae /sound | |
parent | 109f6e39fa07c48f580125f531f46cb7c245b528 (diff) | |
download | linux-b47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6.tar.gz linux-b47030c71dfd6c8cd5cb6e551b6f7f7cfc96f6a6.tar.bz2 linux-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 <ebiederm@xmission.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@free.fr>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions