[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100503.153712.93376700.davem@davemloft.net>
Date: Mon, 03 May 2010 15:37:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mikem@...g3k.org
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH] sky2: Avoid race in sky2_change_mtu
From: Mike McCormack <mikem@...g3k.org>
Date: Mon, 03 May 2010 23:18:56 +0900
> netif_stop_queue does not ensure all in-progress transmits are complete,
> so use netif_tx_disable() instead.
>
> Make sure NAPI polls are disabled, otherwise NAPI might trigger a TX
> restart between when we stop the queue and NAPI is disabled.
>
> Signed-off-by: Mike McCormack <mikem@...g3k.org>
This looks quite reasonable, Stephen please review.
--
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