caif: Bugfix double kfree_skb upon xmit failure
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
Thu, 2 Feb 2012 01:21:03 +0000 (01:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Feb 2012 19:35:12 +0000 (14:35 -0500)
commitba7605745d5c99f0e71b3ec6c7cb5ed6afe540ad
tree24f678ef44d316b79d6301ed3ffde26258d6f2ac
parentb01377a4200d0dfc7b04a8daabb4739727353703
caif: Bugfix double kfree_skb upon xmit failure

SKB is freed twice upon send error. The Network stack consumes SKB even
when it returns error code.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_socket.c