summaryrefslogtreecommitdiffstats
path: root/net/devlink/region.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/devlink/region.c')
-rw-r--r--net/devlink/region.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/devlink/region.c b/net/devlink/region.c
index 0aab7b82d6..e3bab458db 100644
--- a/net/devlink/region.c
+++ b/net/devlink/region.c
@@ -883,7 +883,8 @@ int devlink_nl_region_read_dumpit(struct sk_buff *skb,
start_offset = state->start_offset;
- devlink = devlink_get_from_attrs_lock(sock_net(cb->skb->sk), attrs);
+ devlink = devlink_get_from_attrs_lock(sock_net(cb->skb->sk), attrs,
+ false);
if (IS_ERR(devlink))
return PTR_ERR(devlink);