isdn/gigaset: correct bas_gigaset rx buffer handling
authorTilman Schmidt <tilman@imap.cc>
Thu, 30 Sep 2010 13:34:51 +0000 (13:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 07:33:33 +0000 (00:33 -0700)
commitf3d531b99fb30945b4a64d6e2e86e1e62605aca5
tree13d8bcd27aafec429be40f12a4e8f3d3ab6738da
parentc8701a08d6a4efeae45d84d0aa87172f23b14e3c
isdn/gigaset: correct bas_gigaset rx buffer handling

In transparent data reception, avoid a NULL pointer dereference
in case an skbuff cannot be allocated, remove an inappropriate
call to the HDLC flush routine, and correct the accounting of
received bytes for continued buffers.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
CC: stable <stable@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/isocdata.c