[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170715.212954.286118168709267918.davem@davemloft.net>
Date: Sat, 15 Jul 2017 21:29:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: opendmb@...il.com
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 0/2] Fragmented SKB corrections
From: Doug Berger <opendmb@...il.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.
Powered by blists - more mailing lists