From: Nikolay Aleksandrov <ra...@blackwall.org>
Date: Fri, 13 Nov 2015 15:20:24 +0100

> From: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
> 
> If ndo_set_features fails __netdev_update_features() will return -1 but
> this is wrong because it is expected to return 0 if no features were
> changed (see netdev_update_features()), which will cause a netdev
> notifier to be called without any actual changes. Fix this by returning
> 0 if ndo_set_features fails.
> 
> Fixes: 6cb6a27c45ce ("net: Call netdev_features_change() from 
> netdev_update_features()")
> CC: Michał Mirosław <mirq-li...@rere.qmqm.pl>
> Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to