]> 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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:02 +0000 (23:40 +0100)
commitf1c7c6e08fa6411977fb30bc9c2c6d532e3e1b0e
treed45a3abcad0e2dee548415495e580ea0581be140
parent45edc39ac72b39b936b2c99361783d4fb8bc44c1
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/isdn/gigaset/isocdata.c