Skip to content
Commit 42c66d16 authored by Leo Yan's avatar Leo Yan Committed by Jakub Kicinski
Browse files

connector/cn_proc: Use task_is_in_init_pid_ns()



This patch replaces open code with task_is_in_init_pid_ns() to check if
a task is in root PID namespace.

Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Acked-by: default avatarBalbir Singh <bsingharora@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d7e4f854
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment