Re: [PATCH v2] net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set

From: David Miller
Date: Mon Jun 03 2019 - 17:54:29 EST


From: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
Date: Fri, 31 May 2019 16:47:25 +0300

> Fix ability to set RX descriptor number, the reason - initially
> "tx_max_pending" was set incorrectly, but the issue appears after
> adding sanity check, so fix is for "sanity" patch.
>
> Fixes: 37e2d99b59c476 ("ethtool: Ensure new ring parameters are within bounds during SRINGPARAM")
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>

Applied and queued up for -stable, thanks.