From: Eric Sesterhenn Date: Thu, 6 Apr 2006 05:28:14 +0000 (-0700) Subject: [BLUETOOTH] sco: Possible double free. X-Git-Tag: v2.6.17-rc2~291^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdee5751bf91d02616aaf30a5affef56105e3b79;p=pandora-kernel.git [BLUETOOTH] sco: Possible double free. this fixes coverity bug id #1068. hci_send_sco() frees skb if (skb->len > hdev->sco_mtu). Since it returns a negative error value only in this case, we can directly return here. Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller --- Reading git-diff-tree failed