From: David Miller <davem@davemloft.net>
To: opendmb@gmail.com
Cc: netdev@vger.kernel.org, f.fainelli@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net 0/2] Fragmented SKB corrections
Date: Sat, 15 Jul 2017 21:29:54 -0700 (PDT) [thread overview]
Message-ID: <20170715.212954.286118168709267918.davem@davemloft.net> (raw)
In-Reply-To: <20170714231210.12967-1-opendmb@gmail.com>
From: Doug Berger <opendmb@gmail.com>
Date: Fri, 14 Jul 2017 16:12:08 -0700
> Two issues were observed in a review of the bcmgenet driver support for
> fragmented SKBs which are addressed by this patch set.
>
> The first addresses a problem that could occur if the driver is not able
> to DMA map a fragment of the SKB. This would be a highly unusual event
> but it would leave the hardware descriptors in an invalid state which
> should be prevented.
>
> The second is a hazard that could occur if the driver is able to reclaim
> the first control block of a fragmented SKB before all of its fragments
> have completed processing by the hardware. In this case the SKB could
> be freed leading to reuse of memory that is still in use by hardware.
Series applied, thanks.
prev parent reply other threads:[~2017-07-16 4:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 23:12 Doug Berger
2017-07-14 23:12 ` [PATCH net 1/2] net: bcmgenet: Fix unmapping of fragments in bcmgenet_xmit() Doug Berger
2017-07-14 23:12 ` [PATCH net 2/2] net: bcmgenet: Free skb after last Tx frag Doug Berger
2017-07-16 4:29 ` 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=20170715.212954.286118168709267918.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=opendmb@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
all inboxes | Powered by JetHome®