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