From: David Miller <davem@davemloft.net>
To: nhorman@tuxdriver.com
Cc: netdev@vger.kernel.org, romieu@fr.zoreil.com
Subject: Re: [net PATCH v4] 8139cp: Add dma_mapping_error checking
Date: Wed, 31 Jul 2013 17:02:19 -0700 (PDT) [thread overview]
Message-ID: <20130731.170219.7465642202004733.davem@davemloft.net> (raw)
In-Reply-To: <1375275836-22187-1-git-send-email-nhorman@tuxdriver.com>
From: Neil Horman <nhorman@tuxdriver.com>
Date: Wed, 31 Jul 2013 09:03:56 -0400
> Self explanitory dma_mapping_error addition to the 8139 driver, based on this:
> https://bugzilla.redhat.com/show_bug.cgi?id=947250
>
> It showed several backtraces arising for dma_map_* usage without checking the
> return code on the mapping. Add the check and abort the rx/tx operation if its
> failed. Untested as I have no hardware and the reporter has wandered off, but
> seems pretty straightforward.
>
> Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Applied and queued up for -stable, thanks Neil.
prev parent reply other threads:[~2013-08-01 0:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 18:14 [net PATCH] 8139cp: Add dma_mapping_error checking Neil Horman
2013-07-22 21:48 ` Francois Romieu
2013-07-23 13:00 ` Neil Horman
2013-07-26 14:28 ` [net PATCH v2] " Neil Horman
2013-07-26 20:06 ` Francois Romieu
2013-07-26 20:42 ` Neil Horman
2013-07-26 21:24 ` Francois Romieu
2013-07-28 10:40 ` Neil Horman
2013-07-28 21:34 ` Francois Romieu
2013-07-28 23:34 ` Neil Horman
2013-07-29 17:05 ` [net PATCH v3] " Neil Horman
2013-07-31 1:01 ` David Miller
2013-07-31 13:03 ` [net PATCH v4] " Neil Horman
2013-08-01 0:02 ` David Miller [this message]
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=20130731.170219.7465642202004733.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=romieu@fr.zoreil.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).