caif: Handle dev_queue_xmit errors.
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Fri, 13 May 2011 02:44:06 +0000 (02:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 May 2011 21:45:56 +0000 (17:45 -0400)
commitc85c2951d4da1236e32f1858db418221e624aba5
tree8f70d7ab3dbe05ea6f812f9bfb8d341425a29193
parentbee925db9a77a5736596dcf6f91d0879f5ee915b
caif: Handle dev_queue_xmit errors.

Do proper handling of dev_queue_xmit errors in order to
avoid double free of skb and leaks in error conditions.
In cfctrl pending requests are removed when CAIF Link layer goes down.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/caif/cfctrl.h
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfcnfg.c
net/caif/cfctrl.c
net/caif/cffrml.c
net/caif/cfveil.c