Fri, Nov 13, 2015 at 02:54:01PM CET, [email protected] wrote: >From: Nikolay Aleksandrov <[email protected]> > >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 <[email protected]> >CC: Jiri Pirko <[email protected]> >CC: Ido Schimmel <[email protected]> >CC: Sander Eikelenboom <[email protected]> >CC: Andy Gospodarek <[email protected]> >CC: Florian Fainelli <[email protected]> >Signed-off-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]> Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
