From: Richard Cochran <richardcochran@gmail.com>
To: <netdev@vger.kernel.org>
Cc: David Miller <davem@davemloft.net>,
Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH 0/7] net: fixup time stamping batch #1
Date: Sun, 19 Jun 2011 15:31:38 +0200 [thread overview]
Message-ID: <cover.1308489767.git.richard.cochran@omicron.at> (raw)
As Eric Dumazet helpfully pointed out, the placing the transmit time
stamp hook after giving the skb to hardware races with the completion
ISR, for those drivers which free the buffer in the ISR.
This series fixes up the first batch of time stamping hook patches.
Richard Cochran (7):
net: correct comment on where to place transmit time stamp hook.
fec: fix race in transmit time stamping.
tg3: fix race in transmit time stamping.
r6040: fix race in transmit time stamping.
stmmac: fix race in transmit time stamping.
smsc9420: fix race in transmit time stamping.
davinci_emac: fix race in transmit time stamping.
drivers/net/davinci_emac.c | 3 ++-
drivers/net/fec.c | 4 ++--
drivers/net/r6040.c | 5 +++--
drivers/net/smsc9420.c | 4 ++--
drivers/net/stmmac/stmmac_main.c | 4 ++--
drivers/net/tg3.c | 4 ++--
include/linux/skbuff.h | 3 +--
7 files changed, 14 insertions(+), 13 deletions(-)
next reply other threads:[~2011-06-19 13:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 13:31 Richard Cochran [this message]
2011-06-19 13:31 ` [PATCH 1/7] net: correct comment on where to place transmit time stamp hook Richard Cochran
2011-06-19 13:31 ` [PATCH 2/7] fec: fix race in transmit time stamping Richard Cochran
2011-06-19 13:31 ` [PATCH 3/7] tg3: " Richard Cochran
2011-06-19 13:31 ` [PATCH 4/7] r6040: " Richard Cochran
2011-06-19 13:31 ` [PATCH 5/7] stmmac: " Richard Cochran
2011-06-19 13:31 ` [PATCH 6/7] smsc9420: " Richard Cochran
2011-06-19 13:31 ` [PATCH 7/7] davinci_emac: " Richard Cochran
2011-06-19 23:36 ` [PATCH 0/7] net: fixup time stamping batch #1 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=cover.1308489767.git.richard.cochran@omicron.at \
--to=richardcochran@gmail.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/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).