net: fix feature changes on devices without ndo_set_features
net: fix feature changes on devices without ndo_set_features

When __netdev_update_features() was updated to ensure some features are
disabled on new lower devices, an error was introduced for devices which
don't have the ndo_set_features() method set. Before we'll just set the
new features, but now we return an error and don't set them. Fix this by
returning the old behaviour and setting err to 0 when ndo_set_features
is not present.

Fixes: e7868a85e1b2 ("net/core: ensure features get disabled on new lower devs")
CC: Jarod Wilson <14059c7158912dcae849c377925c87d46da48cdf@redhat.com>
CC: Jiri Pirko <1b548d10035ae428195c41f5d55eedb1437ccd8a@resnulli.us>
CC: Ido Schimmel <1b0ab106fb837225790a9df447125d75029db946@mellanox.com>
CC: Sander Eikelenboom <ba324ca7b1c77fc20bb970d5aff6eea9377918a5@eikelenboom.it>
CC: Andy Gospodarek <235a7d7680e417ef53409d6a24f3311a70688752@cumulusnetworks.com>
CC: Florian Fainelli <59190c1867e3222b932a0de3c668eb2d980d69a2@gmail.com>
Signed-off-by: Nikolay Aleksandrov <262b42b771725e3ebec40395f2b058e593df7462@cumulusnetworks.com>
Reviewed-by: Jiri Pirko <1b548d10035ae428195c41f5d55eedb1437ccd8a@mellanox.com>
Reviewed-by: Andy Gospodarek <235a7d7680e417ef53409d6a24f3311a70688752@cumulusnetworks.com>
Reviewed-by: Jarod Wilson <14059c7158912dcae849c377925c87d46da48cdf@redhat.com>
Tested-by: Florian Fainelli <59190c1867e3222b932a0de3c668eb2d980d69a2@gmail.com>
Tested-by: Dave Young <5716cc40769303914dac486db0fc6ac4cba9419e@redhat.com>
Tested-by: Christian Borntraeger <49712f635b03c16d7f4c43df70e49ec8c565813d@de.ibm.com>
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs