From: David Miller <davem@davemloft.net>
To: oneukum@suse.de
Cc: tom.leiming@gmail.com, gregkh@linuxfoundation.org,
netdev@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt
Date: Wed, 02 May 2012 20:13:32 -0400 (EDT) [thread overview]
Message-ID: <20120502.201332.1318932828699906268.davem@davemloft.net> (raw)
In-Reply-To: <201204301058.14913.oneukum@suse.de>
From: Oliver Neukum <oneukum@suse.de>
Date: Mon, 30 Apr 2012 10:58:14 +0200
> Am Montag, 30. April 2012, 10:51:02 schrieb Ming Lei:
>> The transfer buffer of dev->interrupt is allocated in .probe path,
>> but not freed in .disconnet path, so mark the interrupt URB as
>> URB_FREE_BUFFER to free the buffer when the URB is destroyed.
>>
>> Signed-off-by: Ming Lei <tom.leiming@gmail.com>
> Acked-by: Oliver Neukum <oneukum@suse.de>
Applied.
next prev parent reply other threads:[~2012-05-03 0:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-30 8:51 usbnet: fix misc bugs Ming Lei
[not found] ` <1335775864-4873-1-git-send-email-tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-30 8:51 ` [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt Ming Lei
[not found] ` <1335775864-4873-2-git-send-email-tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-30 8:58 ` Oliver Neukum
2012-05-03 0:13 ` David Miller [this message]
2012-04-30 8:51 ` [PATCH 2/3] usbnet: fix failure handling in usbnet_probe Ming Lei
2012-05-03 0:13 ` David Miller
2012-04-30 8:51 ` [PATCH 3/3] usbnet: fix skb traversing races during unlink(v1) Ming Lei
[not found] ` <1335775864-4873-4-git-send-email-tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-03 0:12 ` David Miller
[not found] ` <20120502.201212.909292764269133334.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-05-03 1:04 ` Ming Lei
2012-05-09 23:47 ` Ming Lei
[not found] ` <CACVXFVNYFSSP2+MFXAqT60E0qOp8+hjU3u0SbYoWHA_a5ouaxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-14 22:34 ` David Miller
2012-05-15 17:42 ` David Miller
2012-05-03 0:14 ` usbnet: fix misc bugs David Miller
[not found] ` <20120502.201444.2074945018843883757.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-05-03 0:34 ` Ming Lei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120502.201332.1318932828699906268.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oneukum@suse.de \
--cc=tom.leiming@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).