diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-04-06 07:28:14 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-10 07:25:29 +0200 |
commit | cdee5751bf91d02616aaf30a5affef56105e3b79 (patch) | |
tree | 8a7d6f231dc9de03c7d9bb5b6623bd539900abce /net/rxrpc | |
parent | [TG3]: Fix a memory leak. (diff) | |
download | linux-cdee5751bf91d02616aaf30a5affef56105e3b79.tar.xz linux-cdee5751bf91d02616aaf30a5affef56105e3b79.zip |
[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 <snakebyte@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions