diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-06-27 16:36:27 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-28 20:58:57 -0700 |
| commit | 849d5aa3a1d833d0b3a18c2d5b816e23003cfe55 (patch) | |
| tree | e9aca20d19d98a23e0f569416b0e5eac0d9151cb /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d521bc0a0f7cdd56b646e6283d5f7296eb16793d (diff) | |
| download | linux-849d5aa3a1d833d0b3a18c2d5b816e23003cfe55.tar.gz linux-849d5aa3a1d833d0b3a18c2d5b816e23003cfe55.zip | |
af_unix: Do not call kmemdup() for init_net's sysctl table.
While setting up init_net's sysctl table, we need not duplicate the
global table and can use it directly as ipv4_sysctl_init_net() does.
Unlike IPv4, AF_UNIX does not have a huge sysctl table for now, so it
cannot be a problem, but this patch makes code consistent.
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20220627233627.51646-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
