[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131001.123225.1741210078792586013.davem@davemloft.net>
Date: Tue, 01 Oct 2013 12:32:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ricardo.ribalda@...il.com
Cc: joe@...ches.com, jg1.han@...sung.com, gregkh@...uxfoundation.org,
wfp5p@...ginia.edu, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ll_temac: Reset dma descriptors indexes on ndo_open
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Date: Tue, 1 Oct 2013 08:17:10 +0200
> The dma descriptors indexes are only initialized on the probe function.
>
> If a packet is on the buffer when temac_stop is called, the dma
> descriptors indexes can be left on a incorrect state where no other
> package can be sent.
>
> So an interface could be left in an usable state after ifdow/ifup.
>
> This patch makes sure that the descriptors indexes are in a proper
> status when the device is open.
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Applied and queued up for -stable, thanks.
--
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