aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethtool/debug.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/ethtool/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/debug.c b/net/ethtool/debug.c
index f99912d7957e..d73888c7d19c 100644
--- a/net/ethtool/debug.c
+++ b/net/ethtool/debug.c
@@ -123,6 +123,6 @@ out_ops:
out_rtnl:
rtnl_unlock();
out_dev:
- dev_put(dev);
+ ethnl_parse_header_dev_put(&req_info);
return ret;
}