diff options
author | 2020-01-08 08:41:25 +0300 | |
---|---|---|
committer | 2020-01-08 16:03:35 -0800 | |
commit | d97772dbd7727655aa894f1610e983e73678212e (patch) | |
tree | 38311173398530209bcf02898d6c38909b78a728 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ethtool: fix a memory leak in ethnl_default_start() (diff) | |
download | wireguard-linux-d97772dbd7727655aa894f1610e983e73678212e.tar.xz wireguard-linux-d97772dbd7727655aa894f1610e983e73678212e.zip |
ethtool: fix ->reply_size() error handling
The "ret < 0" comparison is never true because "ret" is still zero.
Fixes: 728480f12442 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions