aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
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 /net/core/neighbour.c
parentax25: Fix NULL pointer dereference and lockup. (diff)
downloadlinux-dev-9ecad877948deb2871d29e03786a7d7911687009.tar.xz
linux-dev-9ecad877948deb2871d29e03786a7d7911687009.zip
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 'net/core/neighbour.c')
0 files changed, 0 insertions, 0 deletions