diff options
Diffstat (limited to 'drivers/connector/cn_proc.c')
-rw-r--r-- | drivers/connector/cn_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c index 148d707a1d43..ccdd4c7e748b 100644 --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c | |||
@@ -369,7 +369,7 @@ static void cn_proc_mcast_ctl(struct cn_msg *msg, | |||
369 | return; | 369 | return; |
370 | 370 | ||
371 | /* Can only change if privileged. */ | 371 | /* Can only change if privileged. */ |
372 | if (!capable(CAP_NET_ADMIN)) { | 372 | if (!__netlink_ns_capable(nsp, &init_user_ns, CAP_NET_ADMIN)) { |
373 | err = EPERM; | 373 | err = EPERM; |
374 | goto out; | 374 | goto out; |
375 | } | 375 | } |