Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/core: revert "net: fix __netdev_update_features return.." and add…
… comment commit 17b85d2 upstream. This reverts commit 00ee592 ("net: fix __netdev_update_features return on ndo_set_features failure") and adds a comment explaining why it's okay to return a value other than 0 upon error. Some drivers might actually change flags and return an error so it's better to fire a spurious notification rather than miss these. CC: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Zefan Li <lizefan@huawei.com>
- Loading branch information