Re: [PATCH net] bpf: do not blindly change rlimit in reuseport net selftest

2018-10-08 Thread Daniel Borkmann
On 10/06/2018 04:38 AM, Eric Dumazet wrote: > If the current process has unlimited RLIMIT_MEMLOCK, > we should should leave it as is. > > Fixes: 941ff6f11c02 ("bpf: fix rlimit in reuseport net selftest") > Signed-off-by: John Sperbeck > Signed-off-by: Eric Dumazet > Cc: Daniel Borkmann Applied

Re: [PATCH net] bpf: do not blindly change rlimit in reuseport net selftest

2018-10-06 Thread Daniel Borkmann
On 10/06/2018 04:38 AM, Eric Dumazet wrote: > If the current process has unlimited RLIMIT_MEMLOCK, > we should should leave it as is. > > Fixes: 941ff6f11c02 ("bpf: fix rlimit in reuseport net selftest") > Signed-off-by: John Sperbeck > Signed-off-by: Eric Dumazet > Cc: Daniel Borkmann Acked-b

[PATCH net] bpf: do not blindly change rlimit in reuseport net selftest

2018-10-05 Thread Eric Dumazet
If the current process has unlimited RLIMIT_MEMLOCK, we should should leave it as is. Fixes: 941ff6f11c02 ("bpf: fix rlimit in reuseport net selftest") Signed-off-by: John Sperbeck Signed-off-by: Eric Dumazet Cc: Daniel Borkmann --- tools/testing/selftests/net/reuseport_bpf.c | 13 +---