Skip to content
Commit b47030c7 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by David S. Miller
Browse files

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: default avatarEric W. Biederman <ebiederm@xmission.com>
Reviewed-by: default avatarDaniel Lezcano <daniel.lezcano@free.fr>
Acked-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 109f6e39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment