mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-01 18:53:02 +09:00
[ Upstream commit262f9d811c] If the current process has unlimited RLIMIT_MEMLOCK, we should should leave it as is. Fixes:941ff6f11c("bpf: fix rlimit in reuseport net selftest") Signed-off-by: John Sperbeck <jsperbeck@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>