diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-06-03 15:18:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-03 15:18:36 -0700 |
commit | 9ecad877948deb2871d29e03786a7d7911687009 (patch) | |
tree | d54d027469630aa3b3cd4334b41dd3bc42e50871 /drivers/base | |
parent | 7dccf1f4e1696c79bff064c3770867cc53cbc71c (diff) |
irda: Sock leak on error path in irda_create.
Bad type/protocol specified result in sk leak.
Fix is simple - release the sk if bad values are given,
but to make it possible just to call sk_free(), I move
some sk initialization a bit lower.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions