Re: [PATCH v6 1/4] net: moxa: clear DESC1 on ndo_start_xmit()

From: David Miller
Date: Mon Aug 25 2014 - 20:26:04 EST


From: Jonas Jensen <jonas.jensen@xxxxxxxxx>
Date: Mon, 25 Aug 2014 16:22:11 +0200

> TX buffer length is not cleared on ndo_start_xmit().
> Failing to do so can bug/hang the controller and
> cause TX interrupts to stop altogether.
>
> Remove the readl() and compute a new value for DESC1.
>
> Addresses https://bugzilla.kernel.org/show_bug.cgi?id=69031
>
> Signed-off-by: Jonas Jensen <jonas.jensen@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/