From: David Miller <davem@davemloft.net>
To: petkan@nucleusys.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
sarah.a.sharp@linux.intel.com, dcbw@redhat.com
Subject: Re: [PATCH] net: usb: active URB submitted multiple times
Date: Fri, 12 Apr 2013 15:18:24 -0400 (EDT) [thread overview]
Message-ID: <20130412.151824.2029469075886743722.davem@davemloft.net> (raw)
In-Reply-To: <alpine.DEB.2.02.1304112156520.4309@fry>
From: Petko Manolov <petkan@nucleusys.com>
Date: Thu, 11 Apr 2013 22:00:59 +0300 (EEST)
> From: Petko Manolov <petkan@nucleusys.com>
>
> (For inclusion in 3.10, diff against latest net-next.)
>
> Pegasus driver used single callback for sync and async control URBs.
> Special flags were employed to distinguish between both, but due to flawed
> logic (as Sarah Sharp spotted) it didn't always work. As a result of this
> change [get|set]_registers() are now much simpler. Async write is also
> leaner and does not use single, statically allocated memory for
> usb_ctrlrequest, which is another potential race when asynchronously
> submitting URBs.
>
> The socket buffer pool for the receive path is now gone. It's existence
> didn't make much difference (performance-wise) and the code is better off
> without the spinlocks protecting it.
>
> Largely duplicated code in routines reading and writing MII registers is
> now packed in __mii_op().
>
> Adding URL for the public pegasus git repository.
>
> Signed-off-by: Petko Manolov <petkan@nucleusys.com>
When submitting a new version of a patch, you must list what
changed from the previous version after the "---" delimiter
rather than having people try and guess.
> +T: git git://petkan@git.code.sf.net/p/pegasus2/git
There is no way that specifying your GIT login in this URL
meant for public use is correct, or is it?
next prev parent reply other threads:[~2013-04-12 19:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 21:05 [PATCH] net: usb: active URB submitted multiple times Petko Manolov
2013-04-11 3:22 ` David Miller
2013-04-11 7:09 ` Petko Manolov
2013-04-11 16:38 ` Dan Williams
2013-04-11 18:44 ` Petko Manolov
2013-04-11 19:00 ` Petko Manolov
2013-04-12 19:18 ` David Miller [this message]
2013-04-15 7:26 ` Petko Manolov
2013-04-19 8:21 ` Petko Manolov
2013-04-25 5:27 ` David Miller
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=20130412.151824.2029469075886743722.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dcbw@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=petkan@nucleusys.com \
--cc=sarah.a.sharp@linux.intel.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).