git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dccf1f
)
irda: Sock leak on error path in irda_create.
author
Pavel Emelyanov
<xemul@openvz.org>
Tue, 3 Jun 2008 22:18:36 +0000
(15:18 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 3 Jun 2008 22:18:36 +0000
(15:18 -0700)
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>
No differences found