[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110622235632.GA31004@mcarlson.broadcom.com>
Date: Wed, 22 Jun 2011 16:56:32 -0700
From: "Matt Carlson" <mcarlson@...adcom.com>
To: "Richard Cochran" <richardcochran@...il.com>
cc: "Eric Dumazet" <eric.dumazet@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"David Miller" <davem@...emloft.net>,
"Matthew Carlson" <mcarlson@...adcom.com>,
"Michael Chan" <mchan@...adcom.com>
Subject: Re: [PATCH 07/11] fs_enet: enable transmit time stamping.
On Sun, Jun 19, 2011 at 11:58:31PM -0700, Richard Cochran wrote:
> On Sun, Jun 19, 2011 at 08:30:49PM +0200, Eric Dumazet wrote:
> > Le dimanche 19 juin 2011 ? 20:12 +0200, Richard Cochran a ?crit :
> >
> > > Thanks for your review. I have posted a fix for the first batch (since
> > > they are already in next) and reposted this series.
> > >
> > > But, considering your point, it looks like pxa168_eth and mv643xx_eth
> > > (see patches 9 and 10 of this series) already access skb->len unsafely.
> > >
> > > Would you care to comment on those spots, too?
> >
> > They certainly are buggy, at a first glance.
> >
> > Not only skb->len is unsafe, but netif_tx_stop_queue() calls are unsafe
> > too.
>
> Out of the MAC drivers in my two batches, only drivers/net/tg3.c calls
> netif_tx_stop_queue(txq);
>
> However, I don't know how to fix that. Anyone else care to take a look?
How is netif_tx_stop_queue() unsafe?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists