Subject: Re: [PATCH] sky2: safer transmit ring cleaning

From: Stephen Hemminger <[email-masked]>
Date: Tue, 12 Jan 2010 09:02:02 -0800

On Tue, 12 Jan 2010 11:32:45 -0500
Michael Breuer <[email-masked]> wrote:

> On 01/12/2010 11:15 AM, Stephen Hemminger wrote:
> > This code makes transmit path and transmit reset safer by:
> >    * adding memory barrier before checking available ring slots
> >    * reseting state of tx ring elements after free
> >    * seperate cleanup function from ring done function
> >    * removing mostly unused tx_next element
> >
> >
> >    
> Stephen,
> 
> Just want to confirm that this supersedes both of the patches I'm 
> currently running with:
> 
> 1. skb_may_pull
> 2. Nash patch

You want:
  1. AF_PACKET patch that makes sure skb is not modified after send
  2. This patch.