connector/cn_proc: Allow non-root users access
[linux-2.6-microblaze.git] / drivers / connector / cn_proc.c
index dfc84d4..05d562e 100644 (file)
@@ -410,12 +410,6 @@ static void cn_proc_mcast_ctl(struct cn_msg *msg,
            !task_is_in_init_pid_ns(current))
                return;
 
-       /* Can only change if privileged. */
-       if (!__netlink_ns_capable(nsp, &init_user_ns, CAP_NET_ADMIN)) {
-               err = EPERM;
-               goto out;
-       }
-
        if (msg->len == sizeof(*pinput)) {
                pinput = (struct proc_input *)msg->data;
                mc_op = pinput->mcast_op;