sysctl: really skip missing entries in __nonuserns_sysctl_op()
When __nonuserns_sysctl_op() hits non-existing it goes to the next iteration without updating 'req' pointer. Thus it continuously tries to open non-exitsting entry until breaking out of loop. We should go to the next sysctl instead. Fixes: f79f4546 ("sysctl: move sysctl calls to usernsd") Signed-off-by:Andrey Ryabinin <aryabinin@virtuozzo.com> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Andrew Vagin <avagin@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment