linux/net/ethtool
Dan Carpenter d97772dbd7 ethtool: fix ->reply_size() error handling
The "ret < 0" comparison is never true because "ret" is still zero.

Fixes: 728480f124 ("ethtool: default handlers for GET requests")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-08 16:03:35 -08:00
..
bitset.c ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
bitset.h ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
common.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
common.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
ioctl.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
linkinfo.c ethtool: add LINKINFO_NTF notification 2019-12-27 16:40:02 -08:00
linkmodes.c ethtool: remove set but not used variable 'lsettings' 2020-01-03 12:22:12 -08:00
linkstate.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
netlink.c ethtool: fix ->reply_size() error handling 2020-01-08 16:03:35 -08:00
netlink.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
strset.c ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00