summaryrefslogtreecommitdiff
path: root/net/ethtool/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/module.c')
-rw-r--r--net/ethtool/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/module.c b/net/ethtool/module.c
index bc2cef11bbda..898ed436b9e4 100644
--- a/net/ethtool/module.c
+++ b/net/ethtool/module.c
@@ -175,6 +175,6 @@ out_ops:
ethnl_ops_complete(dev);
out_rtnl:
rtnl_unlock();
- dev_put(dev);
+ ethnl_parse_header_dev_put(&req_info);
return ret;
}