mISDN: Fix skb leak in error cases
authorKarsten Keil <keil@b1-systems.de>
Fri, 22 May 2009 11:04:52 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2009 07:55:30 +0000 (00:55 -0700)
commit5df3b8bcc7826b85a2d233dd20da3ed247e1dc1d
treea1a3a9a9e9b304088c6d0e6b07ea03136c40536d
parentd796509a57777bc0f8f336e360695fad665c59f5
mISDN: Fix skb leak in error cases

If the channel receive function returns an error the skb must be freed.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/socket.c