aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-06-03 15:18:36 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-03 15:18:36 -0700
commit9ecad877948deb2871d29e03786a7d7911687009 (patch)
treed54d027469630aa3b3cd4334b41dd3bc42e50871 /usr
parent7dccf1f4e1696c79bff064c3770867cc53cbc71c (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 'usr')
0 files changed, 0 insertions, 0 deletions