diff options
author | Ahmed S. Darwish <ahmed.darwish@valeo.com> | 2015-02-26 18:20:11 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-09 12:22:24 +0300 |
commit | deb2701cf704a2fd03a8b598bf73df3edb08818d (patch) | |
tree | a0481cbc08a3c1ac2ec0eb400b06207dffa9b39b /MAINTAINERS | |
parent | b0d4724b8e4ce2a60ee4e097ec50c3759ec2090a (diff) | |
download | linux-deb2701cf704a2fd03a8b598bf73df3edb08818d.tar.xz |
can: kvaser_usb: Avoid double free on URB submission failures
Upon a URB submission failure, the driver calls usb_free_urb()
but then manually frees the URB buffer by itself. Meanwhile
usb_free_urb() has alredy freed out that transfer buffer since
we're the only code path holding a reference to this URB.
Remove two of such invalid manual free().
Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions