https://github.com/torvalds/linux
Revision 9ecad877948deb2871d29e03786a7d7911687009 authored by Pavel Emelyanov on 03 June 2008, 22:18:36 UTC, committed by David S. Miller on 03 June 2008, 22:18:36 UTC
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>
1 parent 7dccf1f
History
Tip revision: 9ecad877948deb2871d29e03786a7d7911687009 authored by Pavel Emelyanov on 03 June 2008, 22:18:36 UTC
irda: Sock leak on error path in irda_create.
Tip revision: 9ecad87

back to top