CAPI: Rework capiminor RX handler
authorJan Kiszka <jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:36 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 00:01:32 +0000 (16:01 -0800)
commita11ef7be8e982426e9fbbfc84fa0c01d23ce05c3
treeba8e293db3a4004100bc5f0608e5cfbf1e0bcfc5
parentb75b2eedcbf6458c68713c772c2ade83ab7a55f0
CAPI: Rework capiminor RX handler

Avoid re-queuing skbs unless the error detected in handle_recv_skb is
expected to be recoverable such as lacking memory, a full CAPI queue, a
full TTY input buffer, or a not yet existing TTY.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c