]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isdn/gigaset: correct bas_gigaset rx buffer handling
authorTilman Schmidt <tilman@imap.cc>
Thu, 30 Sep 2010 13:34:51 +0000 (13:34 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:13 +0000 (13:32 -0800)
commit6694477140416dae127ee98d3777a6c283e1f597
treeb5f5873dd9490374d3442c900cd567ffa481c202
parent54a9b1c56c2ef05d7230149a8661e412673ec2ea
isdn/gigaset: correct bas_gigaset rx buffer handling

commit f3d531b99fb30945b4a64d6e2e86e1e62605aca5 upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/gigaset/isocdata.c